Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Update Node version.

Peter van der Does8af94e7a460c
diff --git a/.travis.yml b/.travis.yml
index 5018a165f..c3b95637e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,6 +28,10 @@ env:
# Install the application
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
+ - nvm use $TRAVIS_NODE_VERSION
+ - npm install
+
- sh -c "if [ '$DB' = 'postgresql' ]; then pip install psycopg2; fi"
- pip install -r requirements_devel.txt