Skip to content

Commit

Permalink
Improved Travis config (#1)
Browse files Browse the repository at this point in the history
Improved Travis config
  • Loading branch information
klapuch committed Sep 9, 2017
1 parent e57fbd9 commit 23d1762
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Expand Up @@ -6,7 +6,7 @@ php:
- 5.6
- 7.0
- 7.1
- master
- nightly

before_install:
- composer self-update
Expand All @@ -15,10 +15,7 @@ install:
- composer install --no-interaction --prefer-dist --no-scripts --no-progress --no-suggest --optimize-autoloader --classmap-authoritative

script:
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then vendor/bin/phing ci; fi
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then vendor/bin/phing; fi # Without code coverage
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then vendor/bin/phing; fi # Without code coverage
- if [[ ${TRAVIS_PHP_VERSION} == "master" ]]; then vendor/bin/phing; fi # Without code coverage
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then vendor/bin/phing ci; else vendor/bin/phing; fi # Code coverage test

after_script:
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar; fi
Expand Down

0 comments on commit 23d1762

Please sign in to comment.