Update travis script

pull/2/head
Josselin 6 years ago
parent d6b51cef66
commit 5490cca41b
  1. 9
      scripts/travis_test.sh

@ -1,7 +1,12 @@
#!/usr/bin/env bash
./slither.py examples/bugs --disable-solc-warnings
if [ $? -ne 2 ]; then
./slither.py examples/bugs/uninitialized.sol --disable-solc-warnings
if [ $? -ne 1 ]; then
exit 1
fi
./slither.py examples/bugs/backdoor.sol --disable-solc-warnings
if [ $? -ne 1 ]; then
exit 1
fi

Loading…
Cancel
Save