Commit b3c0e6ac by Timothy J Warren

Fix travis environment variables

parent 412aa2e8
......@@ -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
\ No newline at end of file
- 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
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment