File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
3
3
python :
4
- - 2.7
4
+ - 2.6
5
+ - 2.7
6
+ - pypy
5
7
6
8
before_install :
7
- - git submodule update --init --recursive
8
- - sudo apt-get install libsnappy-dev
9
- - ./build_integration.sh
9
+ - git submodule update --init --recursive
10
+ - sudo apt-get install libsnappy-dev
11
+ - ./build_integration.sh
10
12
11
13
install :
12
14
- pip install tox
@@ -16,6 +18,6 @@ install:
16
18
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
17
19
18
20
script :
19
- - tox -e py27
20
- - KAFKA_VERSION=0.8.0 tox -e py27
21
- - KAFKA_VERSION=0.8.1 tox -e py27
21
+ - tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION`
22
+ - KAFKA_VERSION=0.8.0 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION`
23
+ - KAFKA_VERSION=0.8.1 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION`
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This works with the .travis.yml file to select a python version for testing
3
+
4
+ if [ $1 == " pypy" ]; then
5
+ echo " pypy"
6
+ elif [ $1 == " 2.7" ]; then
7
+ echo " py27"
8
+ elif [ $1 == " 2.6" ]; then
9
+ echo " py26"
10
+ else
11
+ echo $1
12
+ fi ;
You can’t perform that action at this time.
0 commit comments