Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
553dae35
Commit
553dae35
authored
Sep 14, 2015
by
Michael Mifsud
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1137 from xzyfer/feat/osx-travis
Run OSX builds in Travis CI
parents
43286a1a
5ded6edb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
15 deletions
+37
-15
.travis.yml
.travis.yml
+37
-15
No files found.
.travis.yml
View file @
553dae35
language
:
node_js
env
:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true CC=gcc-4.7 CXX=g++-4.7 LINK=gcc-4.7 LINKXX=g++-4.7
language
:
cpp
compiler
:
gcc
sudo
:
false
node_js
:
-
"
0.10"
-
"
0.12"
-
"
iojs-v1.0"
-
"
iojs-v1"
-
"
iojs-v2"
-
"
iojs-v3"
-
"
4"
os
:
-
linux
-
osx
env
:
global
:
-
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true
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
:
fast_finish
:
true
...
...
@@ -27,10 +30,29 @@ addons:
-
g++-4.7
before_install
:
-
g++ --version
-
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
:
directories
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment