forked from ConsumerAffairs/django-experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 758 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
# Container-based builds used if "sudo: false" --> fast boot (1-6s)
# https://docs.travis-ci.com/user/ci-environment/
sudo: false
dist: trusty
language: python
python:
- "2.7"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO="1.8"
- DJANGO="1.9"
- DJANGO="1.10"
- DJANGO="1.11"
matrix:
include:
# The Django 1.8 series is the last to support Python 3.2 and 3.3.
- python: "3.3"
env: DJANGO="1.8"
# Django 1.11 is the first release to support Python 3.6.
- python: "3.6"
env: DJANGO="1.11"
services:
- redis-server
install:
- pip install tox
script:
- tox -vvvv -e $( echo $TRAVIS_PYTHON_VERSION | sed -e 's/^2\./py2/' -e 's/^3\./py3/' )-django${DJANGO}