From d5f24fed13339d01424c4f7748c239ae33e0b606 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 25 Jul 2015 01:32:05 +0200 Subject: travis-ci: Also run tests with python2.4 and python2.5 --- testsuite/prepare-python.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 testsuite/prepare-python.sh (limited to 'testsuite/prepare-python.sh') diff --git a/testsuite/prepare-python.sh b/testsuite/prepare-python.sh new file mode 100755 index 000000000..7b72a6dc4 --- /dev/null +++ b/testsuite/prepare-python.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ -n "$PYTHON" ]; then + echo "Try to use custom python version: $PYTHON" + pip install 'virtualenv<1.8' + mkdir -p "$HOME/custom-virtualenv" + virtualenv -p "python$PYTHON" --use-distribute "$HOME/custom-virtualenv" +fi -- cgit v1.2.3-1-g7c22