forked from celery/django-celery-beat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.36 KB
/
.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
39
40
41
42
43
44
45
46
47
language: python
sudo: false
dist: xenial
cache: false
before_install:
- sudo apt update
- sudo apt install -y wget
- wget http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
- sudo apt-key add erlang_solutions.asc
- sudo apt install -y sqlite
- sudo apt install -y erlang
- sudo apt install -y erlang-nox
- sudo apt install -y rabbitmq-server
- sudo /etc/init.d/rabbitmq-server start
python:
- 3.5
- 3.6
- 3.7
- 3.8
# 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
os:
- linux
matrix:
include:
- { python: 3.6, env: TOXENV=upgradebeat130 }
- { python: 3.6, env: TOXENV=upgradebeat140 }
- { python: 3.6, env: TOXENV=flake8 }
- { python: 3.6, env: TOXENV=pydocstyle }
- { python: 3.6, env: TOXENV=cov }
# 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 }
exclude:
# Django 2.2 is the latest that supports Python 3.5
- { python: 3.5, env: DJANGO=3.0 }
install: travis_retry pip install -U tox-travis
services: rabbitmq
script: tox -v -- -v
after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml
- .tox/$TRAVIS_PYTHON_VERSION/bin/codecov -e TOXENV