-
Notifications
You must be signed in to change notification settings - Fork 130
/
.travis.yml
39 lines (34 loc) · 810 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
39
language: python
dist: bionic
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- travis_retry pip install -U six setuptools pip wheel
- travis_retry pip install -U tox tox-travis coverage
script:
- tox
after_success:
- coverage report
- bash <(curl -s https://codecov.io/bash)
matrix:
include:
- python: "3.8"
env: TOXENV="performance"
script: tox -- -v 2
- python: "3.8"
env: TOXENV="warnings"
- python: "3.8"
env: TOXENV="isort,lint"
- python: "3.8"
env: TOXENV="dist"
script:
- python setup.py bdist_wheel
- rm -r djangorestframework_filters.egg-info
- tox --installpkg ./dist/djangorestframework_filters-*.whl
- tox # test sdist
allow_failures:
- env: TOXENV="warnings"
fast_finish: true