File: travis_selector.sh

package info (click to toggle)
python-kafka 0.9.5-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 796 kB
  • sloc: python: 5,853; makefile: 182; sh: 66
file content (18 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# This works with the .travis.yml file to select a python version for testing

if [ $1 == "pypy" ]; then
    echo "pypy"
elif [ $1 == "3.5" ]; then
    echo "py35"
elif [ $1 == "3.4" ]; then
    echo "py34"
elif [ $1 == "3.3" ]; then
    echo "py33"
elif [ $1 == "2.7" ]; then
    echo "py27"
elif [ $1 == "2.6" ]; then
    echo "py26"
else
    echo $1
fi;