-
Notifications
You must be signed in to change notification settings - Fork 271
/
.travis.yml
46 lines (38 loc) · 1.05 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
language: python
dist: bionic
matrix:
fast_finish: true
include:
# Python 3.7
- python: 3.7
env: TOXENV=py37-django22,py37-django31,py37-django32,py37-django40
# Python 3.8
- python: 3.8
env: TOXENV=py38-django22,py38-django31,py38-django32,py38-django40
# Python 3.9
- python: 3.9
env: TOXENV=py39-django22,py39-django31,py39-django32,py39-django40
# Django Master
- python: 3.7
env: TOXENV=py37-djangomaster
- python: 3.8
env: TOXENV=py38-djangomaster
- python: 3.9
env: TOXENV=py39-djangomaster
allow_failures:
- python: 3.7
env: TOXENV=py37-djangomaster
- python: 3.8
env: TOXENV=py38-djangomaster
- python: 3.9
env: TOXENV=py39-djangomaster
# before_install:
# Workaround for a permissions issue with Travis virtual machine images
# that breaks Python's multiprocessing:
# https://github.com/travis-ci/travis-cookbooks/issues/155
# - sudo rm -rf /dev/shm
# - sudo ln -s /run/shm /dev/shm
install:
- pip install tox-travis
script:
- tox