]> cat aescling's git repositories - mastodon.git/commitdiff
Fix travis node installation
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 15 Oct 2016 15:35:05 +0000 (17:35 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 15 Oct 2016 15:35:05 +0000 (17:35 +0200)
.travis.yml

index f096c08be687846601adc9755764a0fa6ea2929a..b6b9d4830f1f2bd18812b6765a034c4d5da09045 100644 (file)
@@ -22,7 +22,7 @@ services:
 bundler_args: --without development production --retry=3 --jobs=3
 
 install:
-  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
+  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
   - npm install -g npm@3
   - npm install -g yarn
   - bundle install