forked from FSX/momoko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (35 loc) · 910 Bytes
/
.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
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
before_script:
- psql -c 'CREATE DATABASE momoko_test;' -U postgres
env:
- MOMOKO_PSYCOPG2_IMPL=psycopg2
- MOMOKO_PSYCOPG2_IMPL=psycopg2ct
- MOMOKO_PSYCOPG2_IMPL=psycopg2cffi
install: "pip install --use-mirrors tornado ${MOMOKO_PSYCOPG2_IMPL}"
script: python setup.py test
matrix:
exclude:
- python: 3.2
env: MOMOKO_PSYCOPG2_IMPL=psycopg2ct
- python: 3.2
env: MOMOKO_PSYCOPG2_IMPL=psycopg2cffi
- python: 3.3
env: MOMOKO_PSYCOPG2_IMPL=psycopg2ct
- python: 3.3
env: MOMOKO_PSYCOPG2_IMPL=psycopg2cffi
- python: 3.4
env: MOMOKO_PSYCOPG2_IMPL=psycopg2ct
- python: 3.4
env: MOMOKO_PSYCOPG2_IMPL=psycopg2cffi
- python: pypy
env: MOMOKO_PSYCOPG2_IMPL=psycopg2
# Doesn't work on Travis CI
- python: pypy
env: MOMOKO_PSYCOPG2_IMPL=psycopg2cffi