Commit 5ded6edb by xzyfer

Run OSX builds for Node 0.12 and 4 in CI

parent 43286a1a
language: node_js language: cpp
env: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true CC=gcc-4.7 CXX=g++-4.7 LINK=gcc-4.7 LINKXX=g++-4.7
compiler: gcc compiler: gcc
sudo: false sudo: false
node_js: os:
- "0.10" - linux
- "0.12" - osx
- "iojs-v1.0"
- "iojs-v1" env:
- "iojs-v2" global:
- "iojs-v3" - SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true
- "4" matrix:
- export NODE_VERSION="0.10"
- export NODE_VERSION="0.12"
- export NODE_VERSION="iojs-v1.0"
- export NODE_VERSION="iojs-v1"
- export NODE_VERSION="iojs-v2"
- export NODE_VERSION="iojs-v3"
- export NODE_VERSION="4"
matrix: matrix:
fast_finish: true fast_finish: true
...@@ -27,10 +30,29 @@ addons: ...@@ -27,10 +30,29 @@ addons:
- g++-4.7 - g++-4.7
before_install: before_install:
- g++ --version
- git submodule update --init --recursive - git submodule update --init --recursive
- git clone https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CC="gcc-4.7";
export CXX="g++-4.7";
export LINK="gcc-4.7";
export LINKXX="g++-4.7";
fi
- gcc --version
- g++ --version
script:
- npm install
- npm test
after_success: npm run-script coverage after_success:
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "4" ]; then
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