Skip to content

Commit 1bfe1d7

Browse files
committed
Merge pull request #18 from photodude/patch-1
Add PHP 7, HHVM to testing example
2 parents 24c8ca6 + 1f5c62d commit 1bfe1d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,25 @@ php:
1515
- 5.5
1616
# aliased to a recent 5.6.x version
1717
- 5.6
18+
# aliased to a recent 7.x version
19+
- 7.0
20+
# aliased to a recent hhvm version
21+
- hhvm
1822

1923
# optionally specify a list of environments, for example to test different RDBMS
2024
env:
2125
- DB=mysql
2226
- DB=pgsql
2327

28+
# optionally set up exclutions and allowed failures in the matrix
29+
matrix:
30+
exclude:
31+
- php: hhvm
32+
env: DB=pgsql # PDO driver for pgsql is unsupported by HHVM (3rd party install for support)
33+
allow_failures:
34+
- php: 7.0
35+
- php: hhvm
36+
2437
# execute any number of scripts before the test run, custom env's are available as variables
2538
before_script:
2639
- if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS hello_world_test;" -U postgres; fi

0 commit comments

Comments
 (0)