forked from Vostopia/django-inmemorystorage
-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
40 lines (38 loc) · 1011 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
40
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
env:
- DJANGO_VERSION=">=1.11.0,<2.0.0"
- DJANGO_VERSION=">=2.0.0,<2.1.0"
- DJANGO_VERSION=">=2.1.0,<2.2.0"
- DJANGO_VERSION=">=2.2.0,<2.3.0"
- DJANGO_VERSION=">=3.0.0,<3.1.0"
matrix:
exclude:
- python: "3.5"
env: DJANGO_VERSION=">=3.0.0,<3.1.0"
- python: "3.8"
env: DJANGO_VERSION=">=1.11.0,<2.0.0"
- python: "3.8"
env: DJANGO_VERSION=">=2.0.0,<2.1.0"
- python: "3.8"
env: DJANGO_VERSION=">=2.1.0,<2.2.0"
- python: "2.7"
env: DJANGO_VERSION=">=2.0.0,<2.1.0"
- python: "2.7"
env: DJANGO_VERSION=">=2.1.0,<2.2.0"
- python: "2.7"
env: DJANGO_VERSION=">=2.2.0,<2.3.0"
- python: "2.7"
env: DJANGO_VERSION=">=3.0.0,<3.1.0"
# command to install dependencies
install:
- pip install -I -q Django$DJANGO_VERSION
- python setup.py install
# command to run tests
script:
- DJANGO_SETTINGS_MODULE=inmemorystorage.test_settings python setup.py test