Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/scripts/travis_test_embark.sh

24 lines
365 B

#!/usr/bin/env bash
### Test embark integration
mkdir test_embark
cd test_embark
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm install --lts
nvm use --lts
npm install embark
embark demo
cd embark_demo
npm install
slither . --embark-overwrite-config
if [ $? -eq 3 ]
then
echo "Embark test failed"
exit -1
fi