Merge pull request #1266 from jrfnl/feature/travis-tweaks

Two travis tweaks
- speed up build times by disabling Xdebug
- stop build testing against HHVM, test against nightly
This commit is contained in:
David A. Kennedy 2018-03-02 18:24:07 -05:00 committed by GitHub
commit da3e0224a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -31,11 +31,11 @@ matrix:
- php: '7.0'
# aliased to a recent 7.2.x version
- php: '7.2'
# aliased to a recent hhvm version
- php: 'hhvm'
# bleeding edge PHP
- php: 'nightly'
allow_failures:
- php: 'hhvm'
- php: 'nightly'
# Use this to prepare the system to install prerequisites or dependencies.
# e.g. sudo apt-get update.
@ -46,6 +46,9 @@ matrix:
# e.g. copy database configurations, environment variables, etc.
# Failures in this section will result in build status 'errored'.
before_script:
# Speed up build time by disabling Xdebug.
- phpenv config-rm xdebug.ini || echo 'No xdebug config.'
# Set up temporary paths.
- export PHPCS_DIR=/tmp/phpcs
- export SNIFFS_DIR=/tmp/sniffs
# Install CodeSniffer for WordPress Coding Standards checks.