forked from django-import-export/django-import-export
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (56 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
language: python
cache: pip
services:
- postgresql
- mysql
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
env:
global:
- IMPORT_EXPORT_POSTGRESQL_USER=postgres
- IMPORT_EXPORT_POSTGRESQL_PASSWORD=
- IMPORT_EXPORT_MYSQL_USER=root
- IMPORT_EXPORT_MYSQL_PASSWORD=
matrix:
- DJANGO="Django==2.0.*" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="Django==2.0.*" IMPORT_EXPORT_TEST_TYPE=mysql-innodb
- DJANGO="Django==2.0.*" IMPORT_EXPORT_TEST_TYPE=sqlite
- DJANGO="Django==2.1.*" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="Django==2.1.*" IMPORT_EXPORT_TEST_TYPE=mysql-innodb
- DJANGO="Django==2.1.*" IMPORT_EXPORT_TEST_TYPE=sqlite
- DJANGO="Django==2.2.*" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="Django==2.2.*" IMPORT_EXPORT_TEST_TYPE=mysql-innodb
- DJANGO="Django==2.2.*" IMPORT_EXPORT_TEST_TYPE=sqlite
- DJANGO="Django==3.0.*" IMPORT_EXPORT_TEST_TYPE=postgres
- DJANGO="Django==3.0.*" IMPORT_EXPORT_TEST_TYPE=mysql-innodb
- DJANGO="Django==3.0.*" 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=mysql-innodb
- 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
- python: "3.5"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz" IMPORT_EXPORT_TEST_TYPE=mysql-innodb
- python: "3.5"
env: DJANGO="Django==3.0.*" IMPORT_EXPORT_TEST_TYPE=postgres
- python: "3.5"
env: DJANGO="Django==3.0.*" IMPORT_EXPORT_TEST_TYPE=sqlite
- python: "3.5"
env: DJANGO="Django==3.0.*" IMPORT_EXPORT_TEST_TYPE=mysql-innodb
install:
- pip install -q $DJANGO
- pip install -r requirements/base.txt
- pip install -r requirements/test.txt
- pip install coveralls
script:
- PYTHONPATH=".:tests:$PYTHONPATH" python -Wall -m coverage run --omit='setup.py' --source=. tests/manage.py test core --settings=
- isort --check-only
after_success:
- coveralls