forked from mirror/_s
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:
commit
da3e0224a4
|
@ -31,11 +31,11 @@ matrix:
|
||||||
- php: '7.0'
|
- php: '7.0'
|
||||||
# aliased to a recent 7.2.x version
|
# aliased to a recent 7.2.x version
|
||||||
- php: '7.2'
|
- php: '7.2'
|
||||||
# aliased to a recent hhvm version
|
# bleeding edge PHP
|
||||||
- php: 'hhvm'
|
- php: 'nightly'
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: 'hhvm'
|
- php: 'nightly'
|
||||||
|
|
||||||
# Use this to prepare the system to install prerequisites or dependencies.
|
# Use this to prepare the system to install prerequisites or dependencies.
|
||||||
# e.g. sudo apt-get update.
|
# e.g. sudo apt-get update.
|
||||||
|
@ -46,6 +46,9 @@ matrix:
|
||||||
# e.g. copy database configurations, environment variables, etc.
|
# e.g. copy database configurations, environment variables, etc.
|
||||||
# Failures in this section will result in build status 'errored'.
|
# Failures in this section will result in build status 'errored'.
|
||||||
before_script:
|
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 PHPCS_DIR=/tmp/phpcs
|
||||||
- export SNIFFS_DIR=/tmp/sniffs
|
- export SNIFFS_DIR=/tmp/sniffs
|
||||||
# Install CodeSniffer for WordPress Coding Standards checks.
|
# Install CodeSniffer for WordPress Coding Standards checks.
|
||||||
|
|
Reference in New Issue