aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tests.sh
diff options
context:
space:
mode:
authorMartin Diz <gitlab@martindiz.com.ar>2018-09-29 05:31:23 +0800
committerMartin Diz <gitlab@martindiz.com.ar>2018-09-29 06:27:55 +0800
commit25f35653407caac0da084e52f998c76b062f260c (patch)
treed9bc4f2e1bbf495482cf28bbe2ec8e542301457b /scripts/tests.sh
parent3eb5ecdf585426cb6390bffa881b448f50a655f9 (diff)
downloaddexon-solidity-25f35653407caac0da084e52f998c76b062f260c.tar.gz
dexon-solidity-25f35653407caac0da084e52f998c76b062f260c.tar.zst
dexon-solidity-25f35653407caac0da084e52f998c76b062f260c.zip
removed stray (B in CI test output
Diffstat (limited to 'scripts/tests.sh')
-rwxr-xr-xscripts/tests.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 1c0fc590..c284c05c 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -100,8 +100,14 @@ else
log_directory=""
fi
-function printError() { echo "$(tput setaf 1)$1$(tput sgr0)"; }
-function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput sgr0)"; }
+if [ "$CIRCLECI" ]
+then
+ function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput setaf 7)"; }
+ function printError() { echo "$(tput setaf 1)$1$(tput setaf 7)"; }
+else
+ function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput sgr0)"; }
+ function printError() { echo "$(tput setaf 1)$1$(tput sgr0)"; }
+fi
printTask "Running commandline tests..."
# Only run in parallel if this is run on CI infrastructure