Skip to content

Instantly share code, notes, and snippets.

@pablofmorales
Last active December 15, 2015 10:49
Show Gist options
  • Save pablofmorales/5248524 to your computer and use it in GitHub Desktop.
Save pablofmorales/5248524 to your computer and use it in GitHub Desktop.
Smoke trigger
#!/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