forked from joke2k/django-environ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (59 loc) · 1.55 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
47
48
49
50
51
52
53
54
55
56
57
58
59
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
- "pypy"
env:
matrix:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
- DJANGO="Django>=1.11,<2.0"
- DJANGO="Django>=2.0,<2.1"
- DJANGO="https://github.com/django/django/archive/master.tar.gz"
install:
# The default pip doesn't properly support pre-release version specifiers.
- pip install -U pip
- pip install . coverage $DJANGO
branches:
only:
- master
- develop
- /^feature\/.+/
- /^release\/.+/
- /^hotfix\/.+/
- /^v[\d\.]+/
script: coverage run --source=environ setup.py test
matrix:
fast_finish: true
include:
- python: "3.3"
env: DJANGO="Django>=1.8,<1.9"
# Django 1.11+ supports Python 3.6
- python: "3.6"
env: DJANGO="Django>=1.11,<2.0"
- python: "3.6"
env: DJANGO="Django>=2.0,<2.1"
exclude:
# Django 2.0+ dropped support for Python 2.
- python: "2.7"
env: DJANGO="Django>=2.0,<2.1"
- python: "pypy"
env: DJANGO="Django>=2.0,<2.1"
- python: "2.7"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
- python: "pypy"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
# Django master dropped support for Python 3.4.
- python: "3.4"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
allow_failures:
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls