forked from anexia-it/django-rest-passwordreset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.02 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
sudo: false
language: python
python: # test various python versions (Django Support for various python versions is described within the exclude: section)
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy" # PyPy2
- "pypy3" # PyPy3
env:
- DJANGO=1.8
- DJANGO=1.11
- DJANGO=2.0
- DJANGO=2.1
- DJANGO=master
matrix:
exclude:
# Django >= 2.0 does not support Python2.7/PyPy2 anymore
- { python: "2.7", env: DJANGO=2.0 }
- { python: "pypy", env: DJANGO=2.0 }
- { python: "2.7", env: DJANGO=2.1 }
- { python: "pypy", env: DJANGO=2.1 }
- { python: "2.7", env: DJANGO=master }
- { python: "pypy", env: DJANGO=master }
# Django >= 2.1 does not support Python3.4 anymore
- { python: "3.4", env: DJANGO=2.1 }
- { python: "3.4", env: DJANGO=master }
allow_failures:
# newer python versions aswell as pypy may also always break our build
- python: "pypy"
- python: "pypy3"
- env: DJANGO=master
cache:
directories:
- $HOME/.cache/pip
install: pip install tox-travis
script: tox