Browse Source

fixing nvm

Daniel Zlotin 8 years ago
parent
commit
d69172c4b1
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      .travis.yml

+ 3
- 2
.travis.yml View File

@@ -33,8 +33,9 @@ before_install:
33 33
   - set -e
34 34
   - brew update
35 35
   - brew cask install java
36
-  - touch ~/.bash_profile
37
-  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
36
+  - rm -rf ~/.nvm
37
+  - git clone https://github.com/creationix/nvm.git ~/.nvm
38
+  - source ~/.nvm/nvm.sh
38 39
   - nvm install $NODE_VERSION
39 40
   - curl -o- -L https://yarnpkg.com/install.sh | bash
40 41