Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Smoke.sh para correr todo los tests de smoke, y comprobar rapidamente si debemos seguir con el deploy o tirar todo para atras.
#!/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
You can’t perform that action at this time.