summaryrefslogtreecommitdiff
path: root/docker/runtests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/runtests.sh')
-rwxr-xr-xdocker/runtests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/runtests.sh b/docker/runtests.sh
index c6bbf60..fa7e979 100755
--- a/docker/runtests.sh
+++ b/docker/runtests.sh
@@ -1,7 +1,10 @@
#!/bin/bash
+DOCKER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+source "$DOCKER_DIR/shared.env"
+
set -e -x
-for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
+for V in "${PYTHON_VERSIONS[@]}"; do
PYBIN=/opt/python/$V/bin
$PYBIN/python setup.py install
rm -rf build/ # Avoid lib build by narrow Python is used by wide python