Fix travis environment variables

This commit is contained in:
Timothy Warren 2014-08-12 17:06:51 -04:00
parent 412aa2e820
commit b3c0e6ac6b

View File

@ -9,8 +9,8 @@ install:
- composer install
env:
- DB=mysql
- DB=pgsql
- DB=mysql, ENVIRONMENT=testing-mysql
- DB=pgsql, ENVIRONMENT=testing-pgsql
before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS todo_test;' -U postgres; fi"
@ -25,4 +25,12 @@ script:
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
matrix:
exclude:
- php: hhvm
env: DB=pgsql, ENVIRONMENT=testing-pgsql
allow_failures:
- php: hhvm
fast_finish: true