Skip to content

Commit c60d2c1

Browse files
committed
Ensure NVM exists
1 parent c6269f6 commit c60d2c1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Install GCC 4.8 for C++11 support.
22
before_install:
3+
- git clone https://github.com/creationix/nvm.git ./.nvm
4+
- source ./.nvm/nvm.sh
5+
- nvm install $NODE_VERSION
6+
- nvm use $NODE_VERSION
37
- "sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test"
48
- "sudo apt-get -qq update"
59
- "sudo apt-get -qq install g++-4.8"

0 commit comments

Comments
 (0)