Skip to content

Commit

Permalink
Update TravisCI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 27, 2017
1 parent 7b1b21b commit b036ddb
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@ language: php

php:
- 7.0
- 7.0snapshot
- 7.1
- nightly
- 7.1snapshot
- master

matrix:
allow_failures:
- php: master
fast_finish: true

env:
matrix:
- DRIVER="xdebug"
- DRIVER="phpdbg"
- DRIVER="xdebug" DEPENDENCIES="high"
- DRIVER="phpdbg" DEPENDENCIES="high"
- DRIVER="xdebug" DEPENDENCIES="low"
- DRIVER="phpdbg" DEPENDENCIES="low"

sudo: false

Expand All @@ -17,7 +26,8 @@ before_install:
- composer clear-cache

install:
- travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable
- if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable; fi
- if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable --prefer-lowest; fi

script:
- if [[ "$DRIVER" = 'phpdbg' ]]; then phpdbg -qrr vendor/bin/phpunit; fi
Expand Down

0 comments on commit b036ddb

Please sign in to comment.