From 61f7c6b21fe795f61ca776fada9831e1192e9a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 23 Oct 2017 18:12:49 +0200 Subject: [PATCH] Use tox-travis to simplify the whole thing --- .travis.yml | 18 ++++++------------ tox.ini | 7 +++++++ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 18ea7ec2..cff15f91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/tox.ini b/tox.ini index e7af9ccb..ddef0a1a 100644 --- a/tox.ini +++ b/tox.ini @@ -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