summaryrefslogtreecommitdiff
path: root/travis_selector.sh
blob: 21fba7e453276a6e2a270c5d729526c9109364e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;