diff --git a/scripts/travis_test_embark.sh b/scripts/travis_test_embark.sh index 2da1190912..1e9d504c93 100755 --- a/scripts/travis_test_embark.sh +++ b/scripts/travis_test_embark.sh @@ -6,8 +6,10 @@ mkdir test_embark cd test_embark curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash +source ~/.nvm/nvm.sh nvm install --lts nvm use --lts +npm --version npm install -g embark embark demo diff --git a/scripts/travis_test_truffle.sh b/scripts/travis_test_truffle.sh index ab46a32810..05ea1de7e1 100755 --- a/scripts/travis_test_truffle.sh +++ b/scripts/travis_test_truffle.sh @@ -6,6 +6,7 @@ mkdir test_truffle cd test_truffle curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash +source ~/.nvm/nvm.sh nvm install --lts nvm use --lts @@ -13,7 +14,7 @@ npm install -g truffle truffle unbox metacoin slither . -if [ $? -eq 8 ] +if [ $? -eq 7 ] then exit 0 fi