Browse Source

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

master
Sébastien Lucas 8 years ago
parent
commit
cb533b6822
1 changed files with 21 additions and 15 deletions
  1. +21
    -15
      .travis.yml

+ 21
- 15
.travis.yml 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


Loading…
Cancel
Save