From 71e77dd87af79e0374b0f502066be0e191cb6667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 9 Mar 2016 09:38:33 +0100 Subject: Add Travis status image and fix .travis.yml In travis configuration was missing some programs for testing. Also fix problems reported by style check. --- tests/all.sh | 2 +- tests/prepare.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/all.sh b/tests/all.sh index d0fe307..1237154 100755 --- a/tests/all.sh +++ b/tests/all.sh @@ -2,4 +2,4 @@ cd "$( dirname "${BASH_SOURCE[0]}" )" ./t_codingstandard.sh -[[ $? -ne 0 ]] && exit 1 +[[ ! $? -ne 0 ]] || exit 1 diff --git a/tests/prepare.sh b/tests/prepare.sh index d8248b4..89982c3 100755 --- a/tests/prepare.sh +++ b/tests/prepare.sh @@ -9,7 +9,7 @@ cp ../example.conf mcwrapper.conf if [[ $PREPARED != "y" ]]; then # Move to known directory - cd "$( dirname "${BASH_SOURCE[0]}" )" + cd "$( readlink -f "${BASH_SOURCE[0]}" )" if [[ $MCSERVERS == "y" ]]; then mkdir -p minecraft-server -- cgit v1.2.3