Attempt to reenable py26 and pypy builds
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python:
|
||||||
|
- 2.6
|
||||||
- 2.7
|
- 2.7
|
||||||
|
- pypy
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
@@ -16,6 +18,6 @@ install:
|
|||||||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tox -e py27
|
- tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION`
|
||||||
- KAFKA_VERSION=0.8.0 tox -e py27
|
- KAFKA_VERSION=0.8.0 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION`
|
||||||
- KAFKA_VERSION=0.8.1 tox -e py27
|
- KAFKA_VERSION=0.8.1 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION`
|
||||||
|
12
travis_selector.sh
Executable file
12
travis_selector.sh
Executable file
@@ -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;
|
Reference in New Issue
Block a user