print running hint in travis log (#175)

* "running script" hint

* Combine duplicate prints
This commit is contained in:
tooomm
2017-11-03 14:19:35 +01:00
committed by GitHub
parent 21f66c65b6
commit f95b4bfd84

View File

@@ -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}