forked from torchbox/wagtailmedia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (34 loc) · 855 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
language: python
python: "3.6"
cache:
pip: true
# Use container-based infrastructure
dist: xenial
sudo: false
matrix:
include:
- env: TOXENV=py37-dj22-wag27
python: 3.7
- env: TOXENV=py37-dj22-wag26
python: 3.7
- env: TOXENV=py37-dj22-wag25
python: 3.7
- env: TOXENV=py36-dj21-wag24
python: 3.6
- env: TOXENV=py36-dj21-wag23
python: 3.6
- env: TOXENV=py36-dj20-wag22
python: 3.6
- env: TOXENV=py35-dj20-wag22
python: 3.5
# Current Django LTS + current Wagtail LTS, with latest compatible Python.
# See https://docs.wagtail.io/en/v2.5.1/releases/upgrading.html
- env: TOXENV=py36-dj111-wag23
python: 3.6
install:
- pip install wheel flake8 isort
- pip install -e .[testing,docs]
script:
- flake8 wagtailmedia
- isort --check-only --diff --recursive wagtailmedia
- tox