Fix travis config, update test script

This commit is contained in:
Daniel 2019-08-20 16:42:28 +02:00
parent 910db8d133
commit eae612da8b
2 changed files with 2 additions and 3 deletions

View file

@ -4,5 +4,4 @@ os:
- linux - linux
- windows - windows
script: script: ./test
- test

2
test
View file

@ -30,7 +30,7 @@ function run {
fi fi
else else
if [[ $output == *"build constraints exclude all Go files"* ]]; then if [[ $output == *"build constraints exclude all Go files"* ]]; then
echo -e "\e[1A[\e[01;33mNOTEST\e[00m] $*" echo -e "\e[1A[ !OS ] $*"
warnings=$((warnings+1)) warnings=$((warnings+1))
else else
echo -e "\e[1A[\e[01;31m FAIL \e[00m] $*" >/dev/stderr echo -e "\e[1A[\e[01;31m FAIL \e[00m] $*" >/dev/stderr