summaryrefslogtreecommitdiff
path: root/travis_selector.sh
diff options
context:
space:
mode:
Diffstat (limited to 'travis_selector.sh')
-rwxr-xr-xtravis_selector.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/travis_selector.sh b/travis_selector.sh
new file mode 100755
index 0000000..21fba7e
--- /dev/null
+++ b/travis_selector.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# This works with the .travis.yml file to select a python version for testing
+
+if [ $1 == "pypy" ]; then
+ echo "pypy"
+elif [ $1 == "2.7" ]; then
+ echo "py27"
+elif [ $1 == "2.6" ]; then
+ echo "py26"
+else
+ echo $1
+fi;