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_cli.sh

18 lines
405 B

#!/usr/bin/env bash
### Test
if ! slither "tests/*.json" --solc-ast --ignore-return-value; then
echo "--solc-ast failed"
exit 1
fi
if ! slither "tests/*0.5*.sol" --solc-disable-warnings --ignore-return-value; then
echo "--solc-disable-warnings failed"
exit 1
fi
if ! slither "tests/*0.5*.sol" --disable-color --ignore-return-value; then
echo "--disable-color failed"
exit 1
fi