Skip to content

Commit 29b5e9d

Browse files
committed
Add HHVM and PHP7 to Travis
1 parent b31f54a commit 29b5e9d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.travis.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
language: php
22

33
php:
4+
- 5.3
45
- 5.4
56
- 5.5
67
- 5.6
8+
- 7.0
9+
- hhvm
10+
11+
matrix:
12+
fast_finish: true
13+
allow_failures:
14+
- php: hhvm
15+
- php: 7.0
16+
17+
sudo: false
718

819
services: mongodb
920

1021
before_script:
1122
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
1223
- mysql -e 'create database unittest;'
1324
- composer self-update
14-
- composer install --dev --no-interaction
25+
- travis_retry composer install --dev --no-interaction
1526

1627
script:
1728
- mkdir -p build/logs
1829
- phpunit --coverage-clover build/logs/clover.xml
1930

20-
after_script:
21-
- php vendor/bin/coveralls -v
31+
after_success:
32+
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php vendor/bin/coveralls -v; fi;'

0 commit comments

Comments
 (0)