aboutsummaryrefslogtreecommitdiff
path: root/tools/run_tests/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/travis.sh')
-rwxr-xr-xtools/run_tests/travis.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/run_tests/travis.sh b/tools/run_tests/travis.sh
index 8c87a47b..f7045f1b 100755
--- a/tools/run_tests/travis.sh
+++ b/tools/run_tests/travis.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
-my_dir="$(dirname "$0")"
+MY_DIR="$(dirname "$0")"
-source $my_dir/tests.sh
+source $MY_DIR/tests.sh
# Note: travis currently does not support testing more than one language so the
# .travis.yml cheats and claims to only be cpp. If they add multiple language
@@ -14,6 +14,9 @@ source $my_dir/tests.sh
# -------- main --------
+# Set value used in tests.sh.
+PARALLELISM=-j2
+
if [ "$#" -ne 1 ]; then
echo "
Usage: $0 { cpp |