-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (44 loc) · 968 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
41
42
43
44
sudo: false
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
services:
- rabbitmq
env:
global:
- BENCHMARK=True
- DEBUGLOG=False
- PIKALOG=False
matrix:
- DJANGO_VERSION="Django>=1.8,<1.9"
- DJANGO_VERSION="Django>=1.9,<1.10"
- DJANGO_VERSION="Django>=1.10,<1.11"
- DJANGO_VERSION="Django>=1.11,<2.0"
- DJANGO_VERSION="Django>=2.0,<2.1"
matrix:
exclude:
- python: 2.7
env: DJANGO_VERSION="Django>=2.0,<2.1"
- python: 3.6
env: DJANGO_VERSION="Django>=1.8,<1.9"
- python: 3.6
env: DJANGO_VERSION="Django>=1.9,<1.10"
- python: 3.6
env: DJANGO_VERSION="Django>=1.10,<1.11"
cache:
directories:
- $HOME/.cache/pip/wheels
install:
- pip install -U pip wheel setuptools
- pip install $DJANGO_VERSION
- pip install -r requirements/qa.txt
- pip install -r requirements/ci.txt
- pip install .[tests]
script:
- pip freeze
- coverage run -m pytest
after_success:
- codecov