Last active
December 15, 2015 10:49
-
-
Save pablofmorales/5248524 to your computer and use it in GitHub Desktop.
Smoke trigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RESULT=$(phpunit tests/Smoke); | |
if [[ $RESULT =~ FAILURES ]]; then | |
echo "THE TESTS FAILS" | |
echo $RESULT | |
exit 1; | |
fi | |
echo "EVERITHING IS OK" | |
exit 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment