forked from FSX/momoko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (43 loc) · 1.21 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
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3.5
addons:
postgresql: "9.4"
before_script:
- psql -c 'CREATE DATABASE momoko_test;' -U postgres
- psql -U postgres momoko_test -c 'CREATE EXTENSION IF NOT EXISTS hstore'
- make -C tcproxy
- env
env:
global:
- MOMOKO_TEST_HSTORE=1
- MOMOKO_TEST_JSON=1
- MOMOKO_TEST_HOST=127.0.0.1
- PGHOST=127.0.0.1
matrix:
- MOMOKO_PSYCOPG2_IMPL=psycopg2 TORNADO_VER="<5.0.0"
- MOMOKO_PSYCOPG2_IMPL=psycopg2cffi TORNADO_VER="<5.0.0"
- MOMOKO_PSYCOPG2_IMPL=psycopg2 TORNADO_VER=">=5.0.0"
- MOMOKO_PSYCOPG2_IMPL=psycopg2cffi TORNADO_VER=">=5.0.0"
install: 'pip install tornado"${TORNADO_VER}" ${MOMOKO_PSYCOPG2_IMPL} unittest2'
script: python setup.py test
matrix:
exclude:
- python: pypy
env: MOMOKO_PSYCOPG2_IMPL=psycopg2 TORNADO_VER="<5.0.0"
- python: pypy
env: MOMOKO_PSYCOPG2_IMPL=psycopg2 TORNADO_VER=">=5.0.0"
- python: pypy3.5
env: MOMOKO_PSYCOPG2_IMPL=psycopg2 TORNADO_VER="<5.0.0"
- python: pypy3.5
env: MOMOKO_PSYCOPG2_IMPL=psycopg2 TORNADO_VER=">=5.0.0"
include:
# https://github.com/travis-ci/travis-ci/issues/9815
- python: 3.7
dist: xenial
sudo: true