Browse Source

Fix travis environment variables

Timothy J. Warren 3 years ago
parent
commit
b3c0e6ac6b
1 changed files with 11 additions and 3 deletions
  1. 11 3
      .travis.yml

+ 11 - 3
.travis.yml View File

@@ -9,8 +9,8 @@ install:
9 9
   - composer install
10 10
 
11 11
 env:
12
-  - DB=mysql
13
-  - DB=pgsql
12
+  - DB=mysql, ENVIRONMENT=testing-mysql
13
+  - DB=pgsql, ENVIRONMENT=testing-pgsql
14 14
 
15 15
 before_script:
16 16
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS todo_test;' -U postgres; fi"
@@ -25,4 +25,12 @@ script:
25 25
 
26 26
 after_script:
27 27
     - wget https://scrutinizer-ci.com/ocular.phar
28
-    - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
28
+    - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
29
+
30
+matrix:
31
+  exclude:
32
+    - php: hhvm
33
+      env: DB=pgsql, ENVIRONMENT=testing-pgsql
34
+  allow_failures:
35
+    - php: hhvm
36
+  fast_finish: true