-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
69 lines (57 loc) · 1.18 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
# Travis CI configuration for pg_seldump
language: python
env:
global:
- SELDUMP_TEST_DSN=dbname=seldump_test
matrix:
include:
- env: TOXENV=black
python: 3.6
- env: TOXENV=flake8
python: 3.5
- env: TOXENV=py35
python: 3.5
addons:
postgresql: '9.5'
apt:
packages:
- postgresql-client-9.5
- env: TOXENV=py36
python: 3.6
addons:
postgresql: '9.6'
apt:
packages:
- postgresql-client-9.6
- env: TOXENV=py37
python: 3.7
addons:
postgresql: '10'
apt:
packages:
- postgresql-client-10
- python: 3.8
addons:
postgresql: '11'
apt:
packages:
- postgresql-11
- postgresql-client-11
env:
- TOXENV=py38
- PGPORT=5433
- python: 3.8
addons:
postgresql: '12'
apt:
packages:
- postgresql-12
- postgresql-client-12
env:
- TOXENV=py38
- PGPORT=5433
install:
- pip install tox
- test ${TOXENV:0:2} != py || psql -c 'create database seldump_test'
script:
- tox