-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #447 from humanmade/develop
Version 1.1
- Loading branch information
Showing
79 changed files
with
5,223 additions
and
2,470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,61 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- hhvm | ||
|
||
env: | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
- WP_VERSION=3.8 WP_MULTISITE=0 | ||
- WP_VERSION=3.8 WP_MULTISITE=1 | ||
- WP_VERSION=4.1 WP_MULTISITE=0 | ||
- WP_VERSION=4.1 WP_MULTISITE=1 | ||
|
||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
fast_finish: true | ||
exclude: | ||
# Only test latest version of WP with HHVM | ||
# We really only need to verify that each PHP/WP combination works generally, not that multisite works between them | ||
- php: 5.4 | ||
env: WP_VERSION=4.1 WP_MULTISITE=1 | ||
- php: 5.4 | ||
env: WP_VERSION=latest WP_MULTISITE=1 | ||
- php: 5.5 | ||
env: WP_VERSION=4.1 WP_MULTISITE=1 | ||
- php: 5.5 | ||
env: WP_VERSION=latest WP_MULTISITE=1 | ||
- php: 7.0 | ||
env: WP_VERSION=latest WP_MULTISITE=1 | ||
# Only test latest version of WP with HHVM | ||
- php: hhvm | ||
env: WP_VERSION=3.8 WP_MULTISITE=0 | ||
env: WP_VERSION=4.1 WP_MULTISITE=0 | ||
- php: hhvm | ||
env: WP_VERSION=3.8 WP_MULTISITE=1 | ||
# Only test latest version of WP with PHP 7.0 because 3.8 won't work at all | ||
env: WP_VERSION=4.1 WP_MULTISITE=1 | ||
# Only test latest version of WP with PHP 7.0+ because 4.1 won't work at all | ||
- php: 7.0 | ||
env: WP_VERSION=3.8 WP_MULTISITE=0 | ||
env: WP_VERSION=4.1 WP_MULTISITE=0 | ||
- php: 7.0 | ||
env: WP_VERSION=3.8 WP_MULTISITE=1 | ||
env: WP_VERSION=4.1 WP_MULTISITE=1 | ||
- php: 7.1 | ||
env: WP_VERSION=4.1 WP_MULTISITE=0 | ||
- php: 7.1 | ||
env: WP_VERSION=4.1 WP_MULTISITE=1 | ||
|
||
before_script: | ||
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION | ||
- export PATH="$HOME/.composer/vendor/bin:$PATH" | ||
- | | ||
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then | ||
composer global require "phpunit/phpunit=5.7.*" | ||
elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then | ||
composer global require "phpunit/phpunit=4.8.*" | ||
fi | ||
- which phpunit | ||
- phpunit --version | ||
|
||
script: phpunit | ||
script: | ||
- phpunit |
Oops, something went wrong.