mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:38:51 +08:00
Reduce number of Travis builds by only running WP_VERSION=trunk once
This commit is contained in:
parent
14fb0e328f
commit
0e7eb35564
1 changed files with 13 additions and 9 deletions
22
.travis.yml
22
.travis.yml
|
@ -11,12 +11,6 @@ branches:
|
|||
only:
|
||||
- master
|
||||
|
||||
php:
|
||||
- 7.1
|
||||
- 7.0
|
||||
- 5.6
|
||||
- 5.4
|
||||
|
||||
cache:
|
||||
- composer
|
||||
- $HOME/.composer/cache
|
||||
|
@ -24,9 +18,19 @@ cache:
|
|||
env:
|
||||
global:
|
||||
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
|
||||
matrix:
|
||||
- WP_VERSION=latest
|
||||
- WP_VERSION=trunk
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 7.1
|
||||
env: WP_VERSION=latest
|
||||
- php: 7.0
|
||||
env: WP_VERSION=latest
|
||||
- php: 5.6
|
||||
env: WP_VERSION=latest
|
||||
- php: 5.6
|
||||
env: WP_VERSION=trunk
|
||||
- php: 5.4
|
||||
env: WP_VERSION=latest
|
||||
|
||||
before_script:
|
||||
- composer validate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue