Skip to content

Commit 0a341f4

Browse files
committed
Update Travis CI configuration
1 parent f3b69d2 commit 0a341f4

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
language: php
2+
sudo: required
3+
dist: trusty
4+
group: edge
25

36
php:
47
- 5.5
58
- 5.6
69
- 7.0
7-
- hhvm
8-
9-
matrix:
10-
allow_failures:
11-
- php: hhvm
10+
- nightly
11+
- hhvm-3.12
12+
- hhvm-nightly
1213

1314
before_install:
15+
- echo $TRAVIS_PHP_VERSION
1416
- travis_retry composer self-update
1517

1618
install:
@@ -20,12 +22,12 @@ install:
2022
- travis_retry composer update --no-interaction --prefer-source
2123

2224
before_script:
23-
- if [ $TRAVIS_PHP_VERSION != "hhvm" ]; then coverage="--coverage-xml"; fi
25+
- if [[ $TRAVIS_PHP_VERSION != hhvm* ]]; then coverage="--coverage-xml"; fi
2426
- vendor/bin/codecept build
2527

2628
script:
2729
- php-cs-fixer fix --dry-run
2830
- vendor/bin/codecept run $coverage
2931

30-
after_script:
32+
after_success:
3133
- if [ $coverage != "" ]; then coveralls --verbose; fi

0 commit comments

Comments
 (0)