forked from django-denorm/django-denorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (86 loc) · 2.6 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
language: python
install:
- pip install tox
- pip install coveralls
before_script:
- sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database denorm_test;' -U postgres; fi;"
- sh -c "if [ '$DB' = 'postgis' ]; then psql -c 'create database denorm_test;' -U postgres; fi;"
- sh -c "if [ '$DB' = 'postgis' ]; then psql -c 'create extension postgis;' -U postgres; fi;"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database denorm_test;'; fi"
script:
- tox -e py${TRAVIS_PYTHON_VERSION/./}-${DJANGO}-${DB}
python:
- "2.6"
- "2.7"
- "3.4"
env:
- DJANGO=django15 DB=sqlite
- DJANGO=django16 DB=sqlite
- DJANGO=django15 DB=sqlite
- DJANGO=django16 DB=sqlite
- DJANGO=django17 DB=sqlite
- DJANGO=django18 DB=sqlite
- DJANGO=django19 DB=sqlite
- DJANGO=djangomaster DB=sqlite
- DJANGO=django15 DB=mysql
- DJANGO=django16 DB=mysql
- DJANGO=django15 DB=mysql
- DJANGO=django16 DB=mysql
- DJANGO=django17 DB=mysql
- DJANGO=django18 DB=mysql
- DJANGO=django19 DB=mysql
- DJANGO=djangomaster DB=mysql
- DJANGO=django15 DB=postgres
- DJANGO=django16 DB=postgres
- DJANGO=django15 DB=postgres
- DJANGO=django16 DB=postgres
- DJANGO=django17 DB=postgres
- DJANGO=django18 DB=postgres
- DJANGO=django19 DB=postgres
- DJANGO=djangomaster DB=postgres
- DJANGO=django18 DB=postgis
- DJANGO=django19 DB=postgis
- DJANGO=djangomaster DB=postgis
matrix:
fast_finish: true
exclude:
- python: "2.6"
env: DJANGO=django17 DB=sqlite
- python: "2.6"
env: DJANGO=django18 DB=sqlite
- python: "2.6"
env: DJANGO=django19 DB=sqlite
- python: "2.6"
env: DJANGO=djangomaster DB=sqlite
- python: "2.6"
env: DJANGO=django17 DB=mysql
- python: "2.6"
env: DJANGO=django18 DB=mysql
- python: "2.6"
env: DJANGO=django19 DB=mysql
- python: "2.6"
env: DJANGO=djangomaster DB=mysql
- python: "2.6"
env: DJANGO=django17 DB=postgres
- python: "2.6"
env: DJANGO=django18 DB=postgres
- python: "2.6"
env: DJANGO=django19 DB=postgres
- python: "2.6"
env: DJANGO=djangomaster DB=postgres
- python: "2.6"
env: DJANGO=django17 DB=postgis
- python: "2.6"
env: DJANGO=django18 DB=postgis
- python: "2.6"
env: DJANGO=django19 DB=postgis
- python: "2.6"
env: DJANGO=djangomaster DB=postgis
allow_failures:
- env: DJANGO=djangomaster DB=sqlite
- env: DJANGO=djangomaster DB=mysql
- env: DJANGO=djangomaster DB=postgres
- env: DJANGO=djangomaster DB=postgis
after_script:
- cd test_denorm_project/
- coveralls --rcfile=../.coveragerc