forked from django-import-export/django-import-export
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
38 lines (37 loc) · 1.26 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
dist: xenial
language: python
cache: pip
services:
- postgresql
python:
- "3.5"
- "3.6"
- "3.7"
env:
global:
- IMPORT_EXPORT_POSTGRESQL_USER=postgres
- IMPORT_EXPORT_POSTGRESQL_PASSWORD=
matrix:
- DJANGO="Django>=2.0,<2.1" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="Django>=2.0,<2.1" IMPORT_EXPORT_TEST_TYPE=sqlite
- DJANGO="Django>=2.1,<2.2" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="Django>=2.1,<2.2" IMPORT_EXPORT_TEST_TYPE=sqlite
- DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=sqlite
matrix:
exclude:
- python: "3.5"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=postgres
- python: "3.5"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=sqlite
install:
- pip install -q $DJANGO
- pip install tablib==0.12.1
- pip install -r requirements/base.txt
- pip install -r requirements/test.txt
- pip install coveralls
script:
- python -Wall -m coverage run --omit='setup.py' --source=. tests/manage.py test core --settings=
- isort --check-only
after_success:
- coveralls