forked from ticosax/django-rest-framework-jwt-refresh-token
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
51 lines (50 loc) · 1.25 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
48
49
50
51
sudo: false
language: python
cache: pip
matrix:
global:
- XDG_CACHE_HOME=$HOME/.cache
include:
- env: TOXENV=flake8
python: 3.6
- env: TOXENV=docs
python: 3.6
- env: TOXENV=py34-django1.11-drf3.6-jwt1.11
python: 3.4
- env: TOXENV=py34-django1.11-drf3.7-jwt1.11
python: 3.4
- env: TOXENV=py35-django1.11-drf3.6-jwt1.11
python: 3.5
- env: TOXENV=py35-django1.11-drf3.7-jwt1.11
python: 3.5
- env: TOXENV=py36-django1.11-drf3.6-jwt1.11
python: 3.6
- env: TOXENV=py36-django1.11-drf3.7-jwt1.11
python: 3.6
- env: TOXENV=py34-django2.0-drf3.7-jwt1.11
python: 3.4
- env: TOXENV=py35-django2.0-drf3.7-jwt1.11
python: 3.5
- env: TOXENV=py36-django2.0-drf3.7-jwt1.11
python: 3.6
- env: TOXENV=py36-django2.0-drf3.8-jwt1.11
python: 3.6
- env: TOXENV=py37-django2.1-drf3.8-jwt1.11
python: 3.7
dist: xenial
sudo: true
install:
- travis_retry pip install tox
script:
- tox
after_success:
- |
if [ "${TOXENV#py}" != "$TOXENV" ]; then
pip install codecov
coverage report -m || exit
flags=${TOXENV//-/ }
flags=${flags//./}
codecov --required -X gcov --flags $flags || exit
fi
notifications:
email: false