-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
41 lines (35 loc) · 939 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
# We do not use sudo
sudo: false
# Python versions for matrix
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
# Django versions for matrix
env:
- DJANGO_VERSION='>=1.8,<1.9'
- DJANGO_VERSION='>=1.9,<1.10'
- DJANGO_VERSION='>=1.10,<1.11'
#- DJANGO_VERSION='>=1.11,<1.12' Django 1.11 coming soon
# Command to install dependencies, e.g. pip install -r requirements.txt
install:
- pip install Django$DJANGO_VERSION
- pip install coveralls
- pip install python-coveralls
# Command to run tests, e.g. python setup.py test
script:
- pip install -r requirements.txt
- coverage run --source=django_propeller manage.py test
- python manage.py check
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION='>=1.9,<1.10'
- python: "3.3"
env: DJANGO_VERSION='>=1.10,<1.11'
# Report to coveralls
after_success:
- COVERALLS_REPO_TOKEN=zhYHkOdDrdEtPvuCowlDRTzI4kEYmwn1B coveralls