浏览代码

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 年前
父节点
当前提交
cb533b6822
共有 1 个文件被更改,包括 21 次插入15 次删除
  1. +21
    -15
      .travis.yml

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


正在加载...
取消
保存