-
Notifications
You must be signed in to change notification settings - Fork 114
/
.travis.yml
executable file
·45 lines (45 loc) · 1.31 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
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
env:
- REQUIREMENTS="django>=1.8,<1.9"
- REQUIREMENTS="django>=1.9,<1.10"
- REQUIREMENTS="django>=1.10,<1.11"
- REQUIREMENTS="django>=1.11,<2.0"
- REQUIREMENTS="django>=2.0,<2.1"
- REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
matrix:
exclude:
- python: "2.7"
env: REQUIREMENTS="django>=2.0,<2.1"
- python: "2.7"
env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
- python: "3.4"
env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
- python: "3.5"
env: REQUIREMENTS="django>=1.8,<1.9"
- python: "3.6"
env: REQUIREMENTS="django>=1.8,<1.9"
- python: "3.6"
env: REQUIREMENTS="django>=1.9,<1.10"
- python: "3.6"
env: REQUIREMENTS="django>=1.10,<1.11"
- python: "3.6"
env: REQUIREMENTS="django>=1.11,<2.0"
allow_failures:
- env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
cache:
directories:
- $HOME/.cache/pip
install:
- pip install flake8 coveralls $REQUIREMENTS
- pip install -e .
script:
- flake8 django_crontab --ignore=E501
- DJANGO_SETTINGS_MODULE=tests.settings nosetests --with-coverage --cover-package=django_crontab
after_success:
- coveralls