Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 0bc5da4

Browse files
committed
Simplify Node versions in Travis Ci (#1500)
Previous we manually installed NVM and did the version switching ourselves. This was required because Trvais didn't support NVM on OSX builds. This has since [been fixed][1] so lets see how it goes. [1:][travis-ci/travis-ci#2311]
1 parent b850684 commit 0bc5da4

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.travis.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
language: cpp
1+
language: node_js
2+
node_js:
3+
- "5"
4+
- "4"
5+
- "0.12"
6+
- "0.10"
7+
- "iojs"
8+
29
compiler: gcc
310
sudo: false
411

@@ -9,11 +16,6 @@ os:
916
env:
1017
global:
1118
- SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true
12-
matrix:
13-
- export NODE_VERSION="0.10"
14-
- export NODE_VERSION="0.12"
15-
- export NODE_VERSION="4"
16-
- export NODE_VERSION="5"
1719

1820
matrix:
1921
fast_finish: true
@@ -28,11 +30,6 @@ addons:
2830

2931
before_install:
3032
- git submodule update --init --recursive
31-
- git clone https://github.com/creationix/nvm.git ./.nvm
32-
- git -C .nvm checkout "$(git -C .nvm describe --tags `git -C .nvm rev-list --tags --max-count=1`)"
33-
- source ./.nvm/nvm.sh
34-
- nvm install $NODE_VERSION
35-
- nvm use $NODE_VERSION
3633
- npm config set python `which python`
3734
- if [ $TRAVIS_OS_NAME == "linux" ]; then
3835
export CC="gcc-4.7";

0 commit comments

Comments
 (0)