Skip to content

Commit

Permalink
minor symfony#997 Updated the Travis config (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the master branch (closes symfony#997).

Discussion
----------

Updated the Travis config

Commits
-------

42fc1d3 Updated the Travis config
  • Loading branch information
javiereguiluz committed Jun 10, 2019
2 parents 78b8f02 + 42fc1d3 commit 8ed898f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -18,12 +18,13 @@ matrix:
- php: 7.1.18
- php: 7.2
- php: 7.3
- php: nightly
# 'php: nightly' is PHP 8.0
- php: 7.4snapshot
allow_failures:
- php: nightly
- php: 7.4snapshot

before_install:
- '[[ "$TRAVIS_PHP_VERSION" == "nightly" ]] || phpenv config-rm xdebug.ini'
- '[[ "$TRAVIS_PHP_VERSION" == "7.4snapshot" ]] || phpenv config-rm xdebug.ini'
- composer self-update

install:
Expand All @@ -33,7 +34,7 @@ install:
script:
- ./bin/phpunit
# this checks that the source code follows the Symfony Code Syntax rules
- '[[ "$TRAVIS_PHP_VERSION" == "nightly" ]] || ./vendor/bin/php-cs-fixer fix --diff --dry-run -v'
- '[[ "$TRAVIS_PHP_VERSION" == "7.4snapshot" ]] || ./vendor/bin/php-cs-fixer fix --diff --dry-run -v'
# this checks that the YAML config files contain no syntax errors
- ./bin/console lint:yaml config
# this checks that the Twig template files contain no syntax errors
Expand Down

0 comments on commit 8ed898f

Please sign in to comment.