Fix travis (close #197)

pull/201/head 0.6.2
Josselin 6 years ago
parent 2eae18d26f
commit 36707efe91
  1. 2
      scripts/travis_test_embark.sh
  2. 3
      scripts/travis_test_truffle.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

@ -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

Loading…
Cancel
Save