Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit b4eb971

Browse files
committed
Fixed Travis CI configuration
- drop HHVM support - updated legacy deps on PHP 7.0 - added missing "env" sections - run benchmarks
1 parent 068dd51 commit b4eb971

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.travis.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ language: php
55
cache:
66
directories:
77
- $HOME/.composer/cache
8+
89
env:
910
global:
1011
- COMPOSER_ARGS="--no-interaction"
@@ -23,33 +24,36 @@ matrix:
2324
env:
2425
- DEPS=latest
2526
- php: 7
27+
env:
2628
- DEPS=lowest
2729
- php: 7
30+
env:
2831
- DEPS=locked
29-
- TEST_COVERAGE=true
32+
- LEGACY_DEPS="phpunit/phpunit"
3033
- php: 7
34+
env:
3135
- DEPS=latest
3236
- php: 7.1
37+
env:
3338
- DEPS=lowest
3439
- php: 7.1
40+
env:
3541
- DEPS=locked
42+
- BENCHMARKS=true
3643
- CS_CHECK=true
44+
- TEST_COVERAGE=true
3745
- php: 7.1
46+
env:
3847
- DEPS=latest
3948
- php: 7.2
49+
env:
4050
- DEPS=lowest
4151
- php: 7.2
52+
env:
4253
- DEPS=locked
4354
- php: 7.2
55+
env:
4456
- DEPS=latest
45-
- php: hhvm
46-
- DEPS=lowest
47-
- php: hhvm
48-
- DEPS=locked
49-
- php: hhvm
50-
- DEPS=latest
51-
allow_failures:
52-
- php: hhvm
5357

5458
before_install:
5559
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
@@ -64,11 +68,11 @@ install:
6468

6569
script:
6670
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
71+
- if [[ $BENCHMARKS == 'true' ]]; then vendor/bin/phpbench run --revs=2 --iterations=2 --report=aggregate ; fi
6772
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
6873

6974
after_script:
7075
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
7176

7277
notifications:
7378
email: false
74-

0 commit comments

Comments
 (0)