Fix travis environment variables
This commit is contained in:
parent
412aa2e820
commit
b3c0e6ac6b
14
.travis.yml
14
.travis.yml
@ -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
|
Loading…
Reference in New Issue
Block a user