Skip to content

Commit

Permalink
Travis: update build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Dec 21, 2016
1 parent 95cb74a commit da40f4d
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,43 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- hhvm-nightly

matrix:
fast_finish: true

allow_failures:
- php: 7.0
- php: hhvm
- php: hhvm-nightly

include:
- php: 5.3
env: COMPOSER_FLAG=--prefer-lowest
- php: 5.3
env: COMPOSER_FLAG=--prefer-stable
- php: 5.4
env: COMPOSER_FLAG=--prefer-lowest
- php: 5.4
env: COMPOSER_FLAG=--prefer-stable
- php: 5.5
env: COMPOSER_FLAG=--prefer-lowest
- php: 5.5
env: COMPOSER_FLAG=--prefer-stable
- php: 5.6
env: COMPOSER_FLAG=--prefer-lowest
- php: 5.6
env: COMPOSER_FLAG=--prefer-stable
- php: 7.0
env: COMPOSER_FLAG=--prefer-lowest
- php: 7.0
env: COMPOSER_FLAG=--prefer-stable
- php: 7.1
env: COMPOSER_FLAG=--prefer-lowest
- php: 7.1
env: COMPOSER_FLAG=--prefer-stable

before_script:
- if [ "$TRAVIS_PHP_VERSION" == "5.3" ]; then composer config -g -- disable-tls true; fi
- composer install --no-interaction --prefer-source
Expand All @@ -28,3 +56,9 @@ script:
after_script:
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then composer require satooshi/php-coveralls; fi
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php vendor/bin/coveralls -c tests/.coveralls.yml -v; fi

sudo: false

cache:
directories:
- $HOME/.composer/cache

0 comments on commit da40f4d

Please sign in to comment.