Last active
January 25, 2019 22:17
-
-
Save alejandrociatti/c51bd789d5f4f482d155bfcdbf12e4cf to your computer and use it in GitHub Desktop.
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 | |
if git checkout master && git pull origin master; then | |
cd test/ | |
echo "running tests ..." | |
if julia runtests.jl; then | |
say "tests OK" | |
cd ../ | |
if gcloud app deploy -q --image-url="gcr.io/timeline-pdf/github.com/devnacho/timeline-calc:$(git rev-parse HEAD)"; then | |
say "deploy successful, engines online, weapons online, all systems nominal" | |
fi | |
else | |
echo "TESTS FAILED !" | |
fi | |
else | |
echo "check yoself 'fore u wreck yoself!" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment