Skip to content

Commit

Permalink
Add PHP 7.1 to travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
MAXakaWIZARD committed Oct 31, 2016
1 parent 29424bd commit 6274467
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ php:
- 5.5
- 5.6
- 7.0
- 7.1

before_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer install -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then composer install --no-dev -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" == '7.0' ]]; then composer install -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '7.0' ]]; then composer install --no-dev -n ; fi

script:
- mkdir -p build/logs
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then phpunit --coverage-clover build/logs/clover.xml ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then phpunit ; fi
- if [[ "$TRAVIS_PHP_VERSION" == '7.0' ]]; then phpunit --coverage-clover build/logs/clover.xml ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '7.0' ]]; then phpunit ; fi

after_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then php vendor/bin/coveralls -v ; fi
- if [[ "$TRAVIS_PHP_VERSION" == '7.0' ]]; then php vendor/bin/coveralls -v ; fi

0 comments on commit 6274467

Please sign in to comment.