From b3c0e6ac6bc16c1f044def04b273472b992a5c99 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 12 Aug 2014 17:06:51 -0400 Subject: [PATCH] Fix travis environment variables --- .travis.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 94dbad9..6de055d 100644 --- a/.travis.yml +++ b/.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 \ 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