From 51795f5e71ccaceae8972f5d8e2626e6b772066b Mon Sep 17 00:00:00 2001 From: Dan Hawk Date: Wed, 3 Jul 2019 00:46:29 +0300 Subject: [PATCH] update sh for travis --- run-tests-with-docker | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run-tests-with-docker b/run-tests-with-docker index 5ecfbe8..f101ec2 100755 --- a/run-tests-with-docker +++ b/run-tests-with-docker @@ -1,8 +1,6 @@ #!/usr/bin/env bash - -SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}") -CWD=$(realpath "${SCRIPT_DIR}") +CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" N="trader-rl-cpu" docker build --tag $N -f docker/Dockerfile.tests "$CWD"