Skip to content

Commit 05d7f4d

Browse files
committed
Test lowest and latest deps
1 parent 233eac8 commit 05d7f4d

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.travis.yml

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

3-
matrix:
4-
fast_finish: true
5-
include:
6-
- php: 5.5
7-
- php: 5.6
8-
- php: 7
9-
- php: 7.1
10-
- php: hhvm
3+
php:
4+
- 5.5
5+
- 5.6
6+
- 7.0
7+
- 7.1
8+
- hhvm
119

12-
install:
13-
- travis_retry composer install --no-interaction --prefer-source
14-
- composer info -i
10+
env:
11+
- DEPS=lowest
12+
- DEPS=latest
13+
14+
before_script:
15+
- composer self-update
16+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable --no-interaction ; fi
17+
- travis_retry composer install --no-interaction
1518

1619
script:
1720
- ./vendor/bin/phpunit

0 commit comments

Comments
 (0)