Skip to content

Commit a315b63

Browse files
committed
Problem: nvm isn't installing properly on Travis
Solution: Rely on the nvm install script
1 parent 06a6789 commit a315b63

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.travis.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,13 @@ os:
1616

1717
osx_image: xcode7.2
1818

19-
matrix:
20-
fast_finish: true
21-
include:
22-
- os: osx
23-
env: NODE_VERSION="5" NVM_DIR=~/.nvm
24-
- os: linux
25-
env: NODE_VERSION="5"
26-
2719
env:
28-
- ZMQ="4.0.5" SODIUM="1.0.5"
29-
- ZMQ="4.1.3" SODIUM="1.0.5"
20+
- ZMQ="4.1.3" SODIUM="1.0.5" NODE_VERSION="5"
21+
- ZMQ="4.1.3" SODIUM="1.0.5" NODE_VERSION="4"
3022

3123
before_install:
32-
- git clone https://github.com/creationix/nvm.git ./.nvm
33-
- source ./.nvm/nvm.sh
24+
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
25+
- source ~/.nvm/nvm.sh
3426
- nvm install $NODE_VERSION
3527
- nvm use $NODE_VERSION
3628
- node --version

0 commit comments

Comments
 (0)