forked from jazzband/django-smart-selects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.14 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
sudo: false
language: python
env:
- 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"
- DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
matrix:
exclude:
- 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"
- python: "2.7"
env: DJANGO_VERSION="Django>=2.0"
- python: "2.7"
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
- python: "3.4"
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
allow_failures:
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
before_script:
- pip install coverage coveralls flake8
- pip install "$DJANGO_VERSION"
script:
- python manage.py migrate
- flake8 manage.py setup.py smart_selects test_app
- coverage run manage.py test
after_script:
- coveralls