mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
31 lines
440 B
YAML
31 lines
440 B
YAML
language: python
|
|
|
|
python:
|
|
- 2.7
|
|
- 3.4
|
|
- 3.5
|
|
- 3.6
|
|
|
|
env:
|
|
- DJANGO: django>=1.11,<2.0
|
|
- DJANGO: django>=2.0
|
|
|
|
matrix:
|
|
exclude:
|
|
- python: "2.7"
|
|
env: DJANGO=2.0.*
|
|
|
|
before_install:
|
|
- pip install codacy-coverage
|
|
- coverage erase
|
|
|
|
install:
|
|
- pip install $DJANGO
|
|
- pip install -e .[standalone]
|
|
|
|
script:
|
|
- coverage run --append runtests.py
|
|
|
|
after_success:
|
|
- coverage xml
|
|
- python-codacy-coverage -r coverage.xml
|