2013-03-23 07:13:01 +11:00
|
|
|
language: python
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2013-03-23 07:13:01 +11:00
|
|
|
python:
|
2013-11-26 09:10:24 +11:00
|
|
|
- 2.7
|
2017-01-19 23:34:07 +11:00
|
|
|
- 3.4
|
2016-03-24 00:15:21 +11:00
|
|
|
- 3.5
|
2017-01-19 22:16:20 +11:00
|
|
|
- 3.6
|
2013-11-26 08:59:27 +11:00
|
|
|
|
|
|
|
env:
|
2018-03-12 21:59:38 +11:00
|
|
|
- DJANGO: django>=1.11,<2.0
|
|
|
|
- DJANGO: django>=2.0
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2018-03-12 23:12:19 +11:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- python: "2.7"
|
|
|
|
env: DJANGO=2.0.*
|
|
|
|
|
2018-04-28 21:07:53 +10:00
|
|
|
before_install:
|
|
|
|
- pip install coverage codacy-coverage
|
2018-03-12 23:12:19 +11:00
|
|
|
- coverage erase
|
2013-12-03 07:31:32 +11:00
|
|
|
|
2013-03-23 07:13:01 +11:00
|
|
|
install:
|
2016-09-06 22:31:30 +10:00
|
|
|
- pip install $DJANGO
|
2018-03-12 23:12:19 +11:00
|
|
|
- pip install -e .[standalone]
|
2013-11-26 08:59:27 +11:00
|
|
|
|
2013-11-25 10:08:31 +11:00
|
|
|
script:
|
2018-03-12 23:12:19 +11:00
|
|
|
- coverage run --append runtests.py
|
2016-03-24 00:15:21 +11:00
|
|
|
|
|
|
|
after_success:
|
2018-04-28 21:06:01 +10:00
|
|
|
- coverage xml
|
|
|
|
- python-codacy-coverage -r coverage.xml
|