Use tox-travis to simplify the whole thing

This commit is contained in:
Alexis Métaireau 2017-10-23 18:12:49 +02:00
parent b542d35b0b
commit 61f7c6b21f
2 changed files with 13 additions and 12 deletions

View file

@ -1,15 +1,9 @@
language: python
before_script:
- pyenv global $TRAVIS_PYTHON_VERSION
script: tox
before_install:
- pyenv global system 3.5
- export PATH=$PYENV_ROOT/bin:$PATH
install:
- pip install tox
env:
- TOXENV=py27
- TOXENV=py34
- TOXENV=py35
- TOXENV=py36
- TOXENV=docs
- pip install tox-travis
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"

View file

@ -26,3 +26,10 @@ deps =
[flake8]
exclude = migrations
max_line_length = 100
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36, docs, lint