Created
May 2, 2013 16:39
-
-
Save pablofmorales/5503494 to your computer and use it in GitHub Desktop.
Smoke.sh para correr todo los tests de smoke, y comprobar rapidamente si debemos seguir con el deploy o tirar todo para atras.
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 "TEST WAS FAILED" | |
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