travis tests

This commit is contained in:
arzynik 2014-04-07 17:14:32 -07:00
parent 63a3e08d18
commit ee8b76d4b8
2 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,7 @@ before_script:
- echo "export PATH=/home/travis/.phpenv/bin:$PATH" | sudo tee -a /etc/apache2/envvars > /dev/null
- cat travis/apache.conf | sudo tee /etc/apache2/conf.d/phpconfig > /dev/null
- cat travis/sites.conf | sed -e "s,PATH,`pwd`/www,g" | sudo tee /etc/apache2/sites-available/default > /dev/null
- export APACHE_ARGUMENTS='-D TRAVIS'
- echo 'export APACHE_ARGUMENTS="-D TRAVIS"' | sudo tee -a /etc/apache2/envvars > /dev/null
- sudo service apache2 restart
# - "export DISPLAY=:99.0"

View File

@ -3,8 +3,6 @@ allow from all
RewriteEngine on
Options +Followsymlinks -Indexes
ReWriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
ReWriteRule .* - [F]
@ -16,7 +14,7 @@ RewriteRule ^(.+)$ index.php?__url=$1 [L,QSA]
<IfDefine !TRAVIS>
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css)$">
Header set Cache-Control "max-age=290304000, public"
Header set Cache-Control "max-age=290304000, public"
</FilesMatch>
AddType font/ttf .ttf