diff --git a/.travis.yml b/.travis.yml index d73ac6722..5167f9931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,35 @@ language: node_js -env: - SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true -compiler: - - gcc +env: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true + +compiler: gcc + node_js: - - "0.10" - - "0.12" - - iojs + - 0.10 + - node # will fetch the latest node.js version + - iojs # will fetch the latest io.js version + matrix: fast_finish: true allow_failures: - node_js: iojs -before_install: - - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; - - sudo apt-get update; - - sudo apt-get install gcc-4.8 g++-4.8; - - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; - - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; - - g++ --version; - - sudo apt-get update -qq; +before_install: + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update + - sudo apt-get install gcc-4.8 g++-4.8 + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20 + - g++ --version + - sudo apt-get update -qq - git submodule update --init --recursive -after_success: - - npm run-script coverage + +after_success: npm run-script coverage + cache: directories: - node_modules + notifications: webhooks: urls: diff --git a/appveyor.yml b/appveyor.yml index 800a75de2..538dad046 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,26 +1,24 @@ version: "{build}" -init: - - git config --global core.autocrlf input +build: off environment: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true matrix: # node.js - nodejs_version: 0.10 - - nodejs_version: 0.12 + - nodejs_version: 0 # will fetch the latest node.js version # io.js - - nodejs_version: "1.2" + - nodejs_version: 1 # will fetch the latest io.js version install: - ps: Install-Product node $env:nodejs_version + - python --version - cmd: SET PATH=C:\python27;%PATH% - - git submodule update --init --recursive - - ps: npm install --msvs_version=2013 + - python --version - node --version - npm --version + - git submodule update --init --recursive + - ps: npm install --msvs_version=2013 -test_script: - - npm test - -build: off +test_script: npm test