Commit 2471e73c by Adeel Mujahid

Merge pull request #538 from am11/master

CI: Use env.SKIP_SASS_BINARY_DOWNLOAD_FOR_CI
parents ad920efa cd585b9d
language: node_js language: node_js
env:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true
compiler: compiler:
- gcc - gcc
node_js: node_js:
...@@ -10,7 +13,7 @@ before_install: ...@@ -10,7 +13,7 @@ before_install:
- sudo apt-get install gcc-4.8 g++-4.8; - 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/gcc gcc /usr/bin/gcc-4.8 20;
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20;
- sudo g++ --version; - g++ --version;
- sudo apt-get update -qq; - sudo apt-get update -qq;
- git submodule update --init --recursive - git submodule update --init --recursive
......
...@@ -4,6 +4,7 @@ init: ...@@ -4,6 +4,7 @@ init:
- git config --global core.autocrlf input - git config --global core.autocrlf input
environment: environment:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix: matrix:
- nodejs_version: 0.10.32 - nodejs_version: 0.10.32
- nodejs_version: 0.11.13 - nodejs_version: 0.11.13
......
...@@ -60,7 +60,7 @@ function fetch(name) { ...@@ -60,7 +60,7 @@ function fetch(name) {
* Skip if CI * Skip if CI
*/ */
if (process.env.CI || process.env.APPVEYOR) { if (process.env.SKIP_SASS_BINARY_DOWNLOAD_FOR_CI) {
console.log('Skipping downloading binaries on CI builds'); console.log('Skipping downloading binaries on CI builds');
return; return;
} }
......
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