Skip to content

Commit

Permalink
Improve integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
montyly committed Apr 5, 2019
1 parent e9d05c6 commit 2eae18d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 5 additions & 3 deletions scripts/travis_test_embark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | b
nvm install --lts
nvm use --lts

npm install embark
npm install -g embark
embark demo
cd embark_demo
npm install
slither . --embark-overwrite-config

if [ $? -eq 3 ]
then
echo "Embark test failed"
exit -1
exit 0
fi

echo "Embark test failed"
exit -1

7 changes: 4 additions & 3 deletions scripts/travis_test_truffle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | b
nvm install --lts
nvm use --lts

npm install truffle
npm install -g truffle
truffle unbox metacoin
slither .

if [ $? -eq 8 ]
then
echo "Truffle test failed"
exit -1
exit 0
fi

echo "Truffle test failed"
exit -1

0 comments on commit 2eae18d

Please sign in to comment.