From cb533b68223f2af41d48cf99eccccb75c49f8039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Fri, 19 Feb 2016 17:10:06 +0100 Subject: [PATCH] Change the way the build matrix is done so that the sauce addon is only enabled when it'll be actually used. --- .travis.yml | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index c534d46..0ec3b67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,23 @@ language: php -php: - - 5.6 - - 5.5 - - 5.4 - - 5.3 - - hhvm - - 7.0 + +matrix: + include: + - php: "7.0" + + - php: "5.6" + addons: + sauce_connect: true + hosts: + - cops-travis + + - php: "5.5" + - php: "5.4" + - php: "5.3" + - php: "hhvm" + allow_failures: + - php: "hhvm" + - php: "7.0" + before_script: - npm install jshint - jshint --version @@ -20,12 +32,6 @@ env: global: - SAUCE_USERNAME=seblucas - secure: VVxocvmz6WYr3tZSTA42M/LUhaHoBWw5onh85hnquoMaxspd3tDCyfQIowTTmEXikRh2T0CkTH7X3dhVwRTd/Ha9isja1qDo9Lc2flGCoWICF7WFZuom084+d+O+EWx4WZMAw4Lz4w6a5xflpPKnzNs9B0+de0BdTlQ5qSXVrcA= -addons: - sauce_connect: true - hosts: - - cops-travis + sudo: false -matrix: - allow_failures: - - php: hhvm - - php: 7.0 +