Skip to content

Commit 1524302

Browse files
committed
Run Travis CI builds with different versions of dependencies
1 parent 1eb0151 commit 1524302

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1+
sudo: false
12
language: php
23
php:
34
- 7.0
45
- 7.1
56
- 7.2
67
- nightly
7-
install: composer install
8-
script: ./vendor/bin/phpunit
9-
after_success: ./vendor/bin/php-coveralls -v
8+
env:
9+
- PREFER_LOWEST="--prefer-lowest --prefer-stable"
10+
- PREFER_LOWEST=""
1011
matrix:
1112
fast_finish: true
1213
allow_failures:
1314
- php: nightly
15+
before_script:
16+
- composer update $PREFER_LOWEST
17+
script: ./vendor/bin/phpunit
18+
after_success: ./vendor/bin/php-coveralls -v

0 commit comments

Comments
 (0)