Skip to content

Commit

Permalink
Merge pull request #1 from WyriHaximus/ci-travis-fix-test-against-nig…
Browse files Browse the repository at this point in the history
…htly

[Travis] Fix test against nightly
  • Loading branch information
WyriHaximus committed Sep 5, 2016
2 parents 9073abf + af33904 commit d1563a2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -11,6 +11,7 @@ php:
- 5.6
- 7.0
- 7.1
- nightly
- hhvm

## Build matrix for lowest and highest possible targets
Expand All @@ -24,6 +25,8 @@ matrix:
env: dependencies=lowest
- php: 7.1
env: dependencies=lowest
- php: nightly
env: dependencies=lowest
- php: hhvm
env: dependencies=lowest
- php: 5.5
Expand All @@ -34,13 +37,15 @@ matrix:
env: dependencies=highest
- php: 7.1
env: dependencies=highest
- php: nightly
env: dependencies=highest
- php: hhvm
env: dependencies=highest

## Install or update dependencies
install:
- composer validate
- composer config platform.php $TRAVIS_PHP_VERSION
- composer config --unset platform.php
- if [ -z "$dependencies" ]; then composer install --prefer-dist -n; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi;
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;
Expand Down

0 comments on commit d1563a2

Please sign in to comment.