-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
32 lines (27 loc) · 1017 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
cache: pip
matrix:
include:
- { python: '2.7', env: TOXENV=py27-dj1.7 }
- { python: '2.7', env: TOXENV=py27-dj1.8 }
- { python: '2.7', env: TOXENV=py27-dj1.9 }
- { python: '2.7', env: TOXENV=py27-dj1.10 }
- { python: '2.7', env: TOXENV=py27-dj1.11 }
- { python: '3.6', env: TOXENV=py36-dj1.8 }
- { python: '3.6', env: TOXENV=py36-dj1.10 }
- { python: '3.6', env: TOXENV=py36-dj1.11 }
- { python: '3.6', env: TOXENV=py36-dj2.0 }
# Report coverage for the Python 2 and 3, and latest supported Django versions.
- { python: '2.7', env: TOXENV=py27-dj1.11-codecov }
- { python: '3.6', env: TOXENV=py36-dj2.0-codecov }
# Also report coverage for Django 1.8, to hit backward-compatibility code.
- { python: '3.6', env: TOXENV=py36-dj1.8-codecov }
# Avoid overriding the default install step,
# so that automatic pip caching works.
#
# See: https://github.com/travis-ci/travis-ci/issues/3239
#
before_script:
- pip install tox
script:
- tox