Skip to content

Commit b79918b

Browse files
Only run WP_VERSION=trunk test once
This reduces the number of builds generated from 8 to 5.
1 parent c238380 commit b79918b

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.travis.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,26 @@ branches:
1111
only:
1212
- master
1313

14-
php:
15-
- 7.1
16-
- 7.0
17-
- 5.6
18-
- 5.3
19-
2014
cache:
2115
- composer
2216
- $HOME/.composer/cache
2317

2418
env:
2519
global:
2620
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
27-
matrix:
28-
- WP_VERSION=latest
29-
- WP_VERSION=trunk
21+
22+
matrix:
23+
include:
24+
- php: 7.1
25+
env: WP_VERSION=latest
26+
- php: 7.0
27+
env: WP_VERSION=latest
28+
- php: 5.6
29+
env: WP_VERSION=latest
30+
- php: 5.6
31+
env: WP_VERSION=trunk
32+
- php: 5.3
33+
env: WP_VERSION=latest
3034

3135
before_script:
3236
- composer validate

0 commit comments

Comments
 (0)