Skip to content

Commit 9dcc00e

Browse files
author
Tim Etchells
committed
Let CODE_TESTS_WORKSPACE be overridden
1 parent 1b29ec1 commit 9dcc00e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

travis-scripts/run-tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ if [[ "$skip_tests" != "true" ]]; then
1313
sudo -E ../travis-scripts/install-microclimate.sh
1414
fi
1515

16-
export CODE_TESTS_WORKSPACE="${HOME}/microclimate-workspace/"
16+
if [[ -z "$CODE_TESTS_WORKSPACE" ]]; then
17+
export CODE_TESTS_WORKSPACE="${HOME}/microclimate-workspace/"
18+
fi
1719

1820
# Move node to somewhere that can be found on root user's PATH
1921
# https://stackoverflow.com/a/29903645/

0 commit comments

Comments
 (0)