From 0e7eb355647bc78c40c2d1a36cad0d78f3c1d8d1 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Tue, 7 Feb 2017 13:03:20 -0800 Subject: [PATCH] Reduce number of Travis builds by only running WP_VERSION=trunk once --- .travis.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee1899b..4c8aebd 100644 --- a/.travis.yml +++ b/.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