From 353a6d7a2279fd8230c3077c29f5fffe3a394274 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Wed, 26 Jun 2019 13:49:45 -0500 Subject: [PATCH] Switch to tox-travis --- .travis.yml | 32 ++++---------------------------- tox.ini | 3 +-- 2 files changed, 5 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce7aafe..a460a81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,35 +1,11 @@ +sudo: false + language: python python: - "2.7" - "3.6" - "3.7" +install: pip install tox-travis -branches: - only: - - master - -matrix: - include: - - python: 2.7 - env: TOXENV=py27-lint - - python: 2.7 - env: TOXENV=py27-django111 - - python: 3.6 - env: TOXENV=py36-django111 - - python: 3.6 - env: TOXENV=py36-django2 - - python: 3.6 - env: TOXENV=py36-django21 - - python: 3.6 - env: TOXENV=py36-django22 - -install: - - pip install tox - -script: - - tox -e $TOXENV - -after_success: - - pip install codecov - - codecov -e TOXENV +script: tox diff --git a/tox.ini b/tox.ini index 03c1826..ad33bcb 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,6 @@ envlist = py27-lint py27-django{111} py36-django{111,2,21,22} - py37-django{111,2,21,22} coverage-report [testenv] @@ -34,4 +33,4 @@ commands= [testenv:coverage-report] commands = coverage report -m - coverage html \ No newline at end of file + coverage html