forked from mfenniak/pg8000
-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
57 lines (55 loc) · 1.98 KB
/
circle.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
machine:
environment:
PG8000_TEST_NAME: PG8000_TEST_9_4
PG8000_TEST_9_0: "{\"user\": \"postgres\", \"password\": \"pw\", \"port\": 5490}"
PG8000_TEST_9_1: "{\"user\": \"postgres\", \"password\": \"pw\", \"port\": 5491}"
PG8000_TEST_9_2: "{\"user\": \"postgres\", \"password\": \"pw\", \"port\": 5492}"
PG8000_TEST_9_3: "{\"user\": \"postgres\", \"password\": \"pw\", \"port\": 5493}"
PG8000_TEST_9_4: "{\"user\": \"postgres\", \"password\": \"pw\", \"port\": 5494}"
dependencies:
cache_directories:
- pgsql-9.0.18
- pgsql-9.1.14
- pgsql-9.2.9
- pgsql-9.3.5
- pgsql-9.4.0
- py-2.5.6
- py-2.6.9
- py-2.7.9
- py-3.2.5
- py-3.3.5
- py-3.4.2
- pypy-2.4.0-linux64
- pypy3-2.3.1-linux64
- jython-2.5.3
pre:
- sudo apt-get install libossp-uuid-dev libssl-dev
- bash ./circleci/install-postgresql-9.0.18.sh
- bash ./circleci/install-postgresql-9.1.14.sh
- bash ./circleci/install-postgresql-9.2.9.sh
- bash ./circleci/install-postgresql-9.3.5.sh
- bash ./circleci/install-postgresql-9.4.0.sh
- bash ./circleci/install-python-2.5.6.sh
- bash ./circleci/install-python-2.6.9.sh
- bash ./circleci/install-python-2.7.9.sh
- bash ./circleci/install-python-3.2.5.sh
- bash ./circleci/install-python-3.3.5.sh
- bash ./circleci/install-python-3.4.2.sh
- bash ./circleci/install-pypy-2.4.0.sh
- bash ./circleci/install-pypy3-2.3.1.sh
- bash ./circleci/install-jython-2.5.3.sh
post:
- ./pgsql-9.0.18/bin/postgres -D `pwd`/pgsql-9.0.18/data -p 5490:
background: true
- ./pgsql-9.1.14/bin/postgres -D `pwd`/pgsql-9.1.14/data -p 5491:
background: true
- ./pgsql-9.2.9/bin/postgres -D `pwd`/pgsql-9.2.9/data -p 5492:
background: true
- ./pgsql-9.3.5/bin/postgres -D `pwd`/pgsql-9.3.5/data -p 5493:
background: true
- ./pgsql-9.4.0/bin/postgres -D `pwd`/pgsql-9.4.0/data -p 5494:
background: true
test:
override:
- tox
- ./run_25