mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 04:24:34 +08:00
Use tox in .travis.yml
This commit is contained in:
1 parent
13b48632e5
commit
88adcbcf8a
1 file changed
+5
-9
+5
-9
@@ -5,13 +5,9 @@ python:
|
||||
- 2.7
|
||||
- 3.2
|
||||
install:
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then
|
||||
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
|
||||
- pip install --use-mirrors tox
|
||||
script:
|
||||
- cd test
|
||||
- ./test.sh
|
||||
- export TOXENV=$(echo "$TRAVIS_PYTHON_VERSION" |
|
||||
sed --regexp-extended 's/([0-9])\.([0-9])/py\1\2/g')
|
||||
- echo "TOXENV=$TOXENV"
|
||||
- tox
|
||||
Reference in new issue
Block a user