Change the way the build matrix is done so that the sauce addon is only enabled when it'll be actually used.

This commit is contained in:
Sébastien Lucas 2016-02-19 17:10:06 +01:00
parent 456fe586d7
commit cb533b6822
1 changed files with 21 additions and 15 deletions

View File

@ -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