forked from celery/django-celery-results
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (35 loc) · 978 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: python
sudo: True
cache: pip
os:
- linux
services:
- postgresql
dist: focal
python:
- 3.8
- 3.6
- 3.7
# pypy3.5 not yet supported due to compilation errors with pyephem
# https://github.com/celery/django-celery-beat/issues/245
# - pypy3.5
env:
- DJANGO=2.2
- DJANGO=3.0
matrix:
include:
- { python: 3.8, env: TOXENV=flake8 }
# disabled temporarily due to bug
# https://github.com/celery/django-celery-results/pull/139
# - { python: 3.8, env: TOXENV=pydocstyle }
- { python: 3.8, env: TOXENV=cov }
- { python: 3.8, env: TOXENV=integration }
# disabled temporarily due to upstream bug
# https://github.com/celery/sphinx_celery/issues/9
# - { python: 3.5, env: TOXENV=apicheck }
# - { python: 3.5, env: TOXENV=linkcheck }
install: travis_retry pip install -U tox-travis
script: tox -v -- -v
after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
- .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV