mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-20 08:24:59 -05:00
print running hint in travis log (#175)
* "running script" hint * Combine duplicate prints
This commit is contained in:
@@ -5,12 +5,14 @@ SOURCE_BRANCH="master"
|
||||
TARGET_BRANCH="files"
|
||||
|
||||
function doCompile {
|
||||
echo "Running script..."
|
||||
python main.py dumpXML=True
|
||||
}
|
||||
|
||||
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then
|
||||
echo "Skipping deploy; just doing a build."
|
||||
# Run our compile script and let user know in logs
|
||||
doCompile
|
||||
exit 0
|
||||
fi
|
||||
@@ -30,7 +32,7 @@ cd ..
|
||||
# Clean out existing contents
|
||||
rm -rf out/**/* || exit 0
|
||||
|
||||
# Run our compile script
|
||||
# Run our compile script and let user know in logs
|
||||
doCompile
|
||||
|
||||
echo TRAVIS_PULL_REQUEST ${TRAVIS_PULL_REQUEST}
|
||||
|
||||
Reference in New Issue
Block a user