Skip to content

Commit

Permalink
[Travis] Fix symfony dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed May 1, 2019
1 parent bfe438f commit 5afbd4f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ cache:
matrix:
include:
- php: 5.5
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"
- php: 5.6
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"
- php: 7.0
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"
- php: 7.1
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"
- php: 7.2
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"
- php: 7.3
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"
- php: nightly
env: COMPOSER_VERSION=""
env: COMPOSER_VERSION="1.6.*"

allow_failures:
- php: nightly
Expand All @@ -30,18 +30,18 @@ matrix:

before_script:
- composer self-update
- composer global require --prefer-source phpunit/phpunit:"^4.8 || ^5.7.0" satooshi/php-coveralls:^1.0.0
- composer global require --prefer-source phpunit/phpunit:"^4.8 || ^5.7.0 || ^6.5.0" php-coveralls/php-coveralls:^2.1.0
- if [ "$COMPOSER_VERSION" == "" ]; then composer install --prefer-source; fi;
- if [ "$COMPOSER_VERSION" != "" ]; then composer require "composer/composer:${COMPOSER_VERSION}" --no-update; fi;
- if [ "$COMPOSER_VERSION" != "" ]; then composer update "composer/composer" --prefer-source; fi;
- if [ "$COMPOSER_VERSION" != "" ]; then composer update --prefer-source; fi;
- mkdir -p ./build/logs

script:
- ~/.composer/vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml

after_script:
after_success:
- 'echo ''coverage_clover: build/logs/clover.xml'' >> ./.coveralls.yml'
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ~/.composer/vendor/bin/coveralls -v; fi;'
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ~/.composer/vendor/bin/php-coveralls -v; fi;'

notifications:
email: false

0 comments on commit 5afbd4f

Please sign in to comment.