-
Notifications
You must be signed in to change notification settings - Fork 90
/
.travis.yml
32 lines (31 loc) · 826 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
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
env:
- DJANGO='Django>=2.2,<2.3'
- DJANGO='Django>=3.0,<3.1'
- DJANGO='Django>=3.1,<3.2'
- DJANGO='Django>=3.2,<3.3'
- DJANGO='https://github.com/django/django/archive/master.tar.gz'
matrix:
exclude:
- python: "3.5"
env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
allow_failures:
- env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
install:
- pip install --quiet $DJANGO
- pip install --quiet coverage
- pip install --quiet flake8
- pip install -e .
before_script:
- flake8 --exclude=migrations --ignore=W291,W503,E501,F401,F403 moderation tests
script:
- coverage run setup.py test
after_success:
- coverage report
- pip install --quiet --use-mirrors coveralls
- coveralls