travis tests
This commit is contained in:
parent
63a3e08d18
commit
ee8b76d4b8
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user