Skip to content

Commit

Permalink
using tox-travis
Browse files Browse the repository at this point in the history
  • Loading branch information
miki725 committed Feb 27, 2018
1 parent ed838db commit 2f4b421
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,14 @@ python:
- "3.6"
- "2.7"
- "pypy"

env:
- deps='django<1.9 djangorestframework<3.7'
- deps='django<2'

matrix:
include:
- python: "3.6"
env: deps='django<2.1'
- "pypy3"

sudo: false

before_install:
- pip install -U pytest

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install $deps
- pip install -r requirements-dev.txt
- pip install coveralls==1.1 # travis pypy not compatible with later versions
- pip freeze
- pip install tox-travis
- pip install coveralls==1.1

# command to run tests, e.g. python setup.py test
script: make check
script: tox

after_success: coveralls

0 comments on commit 2f4b421

Please sign in to comment.