mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 18:17:07 +08:00
Use tox in .travis.yml
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -5,13 +5,9 @@ python:
|
|||||||
- 2.7
|
- 2.7
|
||||||
- 3.2
|
- 3.2
|
||||||
install:
|
install:
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then
|
- pip install --use-mirrors tox
|
||||||
pip install --use-mirrors simplejson unittest2;
|
|
||||||
fi
|
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then
|
|
||||||
pip install --use-mirrors unittest2;
|
|
||||||
fi
|
|
||||||
- pip install --use-mirrors nose
|
|
||||||
script:
|
script:
|
||||||
- cd test
|
- export TOXENV=$(echo "$TRAVIS_PYTHON_VERSION" |
|
||||||
- ./test.sh
|
sed --regexp-extended 's/([0-9])\.([0-9])/py\1\2/g')
|
||||||
|
- echo "TOXENV=$TOXENV"
|
||||||
|
- tox
|
||||||
|
|||||||
Reference in New Issue
Block a user