forked from Atrox/sweetify-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 799 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
language: python
python:
- 2.7
- 3.6
- nightly
env:
- DJANGO='django>=1.8.0,<1.9.0'
- DJANGO='django>=1.10.0,<1.11.0'
- DJANGO='django>=1.11.0,<2.0'
- DJANGO='django>=2.1.0,<2.2.0'
- DJANGO='https://github.com/django/django/archive/master.tar.gz'
before_install:
- pip install coveralls
install:
- pip install --upgrade poetry
- poetry install -v
- poetry run pip install $DJANGO
script:
- DJANGO_SETTINGS_MODULE=tests.test_settings poetry run pytest --cov=sweetify tests/
after_success:
- coveralls
matrix:
exclude:
- python: 2.7
env: DJANGO='https://github.com/django/django/archive/master.tar.gz'
- python: 2.7
env: DJANGO='django>=2.1.0,<2.2.0'
allow_failures:
- env: DJANGO='https://github.com/django/django/archive/master.tar.gz'