Commit fcd29e92 by Nick Schonning Committed by GitHub

Build: Use Travis Stages (#1977)

Run the initial listing before running the full matrix of builds
parent 48bbed1b
language: node_js language: node_js
node_js:
- "7"
- "6"
- "4"
- "0.12"
- "0.10"
- "iojs"
compiler: gcc compiler: gcc
sudo: false sudo: false
os:
- linux
- osx
env: env:
global: global:
- SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true - SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true
matrix: jobs:
fast_finish: true include:
exclude: - stage: test
- node_js: iojs node_js: "node"
- node_js: "0.10" os: linux
before_script: npm run lint || exit 1;
after_success: npm run-script coverage;
- stage: platform-test
node_js: "node"
os: osx
- stage: platform-test
node_js: "lts/boron"
os: linux
- stage: platform-test
node_js: "lts/boron"
os: osx os: osx
- node_js: "0.12" - stage: platform-test
node_js: "lts/argon"
os: linux
- stage: platform-test
node_js: "lts/argon"
os: osx os: osx
- stage: platform-test
node_js: "0.12"
os: linux
- stage: platform-test
node_js: "0.10"
os: linux
addons: addons:
apt: apt:
...@@ -49,17 +58,11 @@ before_install: ...@@ -49,17 +58,11 @@ before_install:
- gcc --version - gcc --version
- g++ --version - g++ --version
script: install:
- npm install - npm install
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then
npm run lint || exit 1;
fi
- npm test
after_success: script:
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then - npm test
npm run-script coverage;
fi
cache: cache:
directories: directories:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment