Skip to content

Commit

Permalink
Merge pull request #5 from PHPCompatibility/feature/travis-use-php-7.3
Browse files Browse the repository at this point in the history
Build/Travis: test builds against PHP 7.3
  • Loading branch information
wimg authored Dec 13, 2018
2 parents d66dceb + 8a7d6aa commit fc335e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cache:
matrix:
fast_finish: true
include:
- php: 7.2
- php: 7.3
addons:
apt:
packages:
Expand All @@ -24,14 +24,14 @@ matrix:

before_install:
# Speed up build time by disabling Xdebug when its not needed.
- if [[ $COVERALLS_VERSION == "notset" ]]; then phpenv config-rm xdebug.ini || echo 'No xdebug config.'; fi
- phpenv config-rm xdebug.ini || echo 'No xdebug config.'
- export XMLLINT_INDENT=" "
- composer install
- vendor/bin/phpcs -i

script:
- |
if [[ $TRAVIS_PHP_VERSION == "7.2" ]]; then
if [[ $TRAVIS_PHP_VERSION == "7.3" ]]; then
# Validate the xml files.
# @link http://xmlsoft.org/xmllint.html
xmllint --noout ./*/ruleset.xml
Expand Down

0 comments on commit fc335e0

Please sign in to comment.