From f95b4bfd849f90f26c8688eb556cd82df2e05e5a Mon Sep 17 00:00:00 2001 From: tooomm Date: Fri, 3 Nov 2017 14:19:35 +0100 Subject: [PATCH] print running hint in travis log (#175) * "running script" hint * Combine duplicate prints --- .travis/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis/deploy.sh b/.travis/deploy.sh index 47111af1..7ca407f5 100644 --- a/.travis/deploy.sh +++ b/.travis/deploy.sh @@ -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}