Merge branch 'fix-ci'
This commit is contained in:
commit
e3f75a0c9f
2 changed files with 21 additions and 25 deletions
38
.travis.yml
38
.travis.yml
|
@ -1,30 +1,24 @@
|
||||||
language: python
|
language: python
|
||||||
python: "3.6"
|
|
||||||
|
|
||||||
env:
|
python:
|
||||||
matrix:
|
- '2.7'
|
||||||
- TOXENV=py27-django18
|
- '3.4'
|
||||||
- TOXENV=py34-django18
|
- '3.5'
|
||||||
- TOXENV=py35-django18
|
- '3.6'
|
||||||
- TOXENV=py27-django19
|
|
||||||
- TOXENV=py34-django19
|
matrix:
|
||||||
- TOXENV=py35-django19
|
include:
|
||||||
- TOXENV=py27-django110
|
- python: '3.6'
|
||||||
- TOXENV=py34-django110
|
env: TOXENV=flake8
|
||||||
- TOXENV=py35-django110
|
- python: '3.6'
|
||||||
- TOXENV=py27-django111
|
env: TOXENV=isort
|
||||||
- TOXENV=py34-django111
|
|
||||||
- TOXENV=py35-django111
|
|
||||||
- TOXENV=py36-django111
|
|
||||||
- TOXENV=flake8
|
|
||||||
- TOXENV=isort
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install coverage coveralls tox
|
- pip install coverage coveralls tox tox-travis
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- coverage combine
|
- coverage combine
|
||||||
- coveralls
|
- coveralls
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -1,7 +1,8 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{27,34,35}-django{18,19,110}
|
django{18,19,110}-py{27,34,35},
|
||||||
py{27,34,35,36}-django111,
|
django111-py{27,34,35,36},
|
||||||
|
django20-py{34,35,36},
|
||||||
cov_combine,
|
cov_combine,
|
||||||
flake8,
|
flake8,
|
||||||
isort
|
isort
|
||||||
|
@ -12,9 +13,10 @@ deps =
|
||||||
django19: django>=1.9,<1.10
|
django19: django>=1.9,<1.10
|
||||||
django110: django>=1.10,<1.11
|
django110: django>=1.10,<1.11
|
||||||
django111: django>=1.11,<2.0
|
django111: django>=1.11,<2.0
|
||||||
|
django20: django>=2.0,<2.1
|
||||||
coverage
|
coverage
|
||||||
mock ; python_version < "3.0"
|
mock ; python_version < "3.0"
|
||||||
usedevelop= True
|
usedevelop = True
|
||||||
commands =
|
commands =
|
||||||
python -V
|
python -V
|
||||||
coverage run \
|
coverage run \
|
||||||
|
|
Loading…
Reference in a new issue