8 - PGBRANCH=REL_12_STABLE
9 - PGBRANCH=REL_11_STABLE
10 - PGBRANCH=REL_10_STABLE
11 - PGBRANCH=REL9_6_STABLE
12 - PGBRANCH=REL9_5_STABLE
13 - PGBRANCH=REL9_4_STABLE
14 - PGBRANCH=REL9_3_STABLE
15 - PGBRANCH=REL9_2_STABLE
16 - PGBRANCH=REL9_1_STABLE
19 - sudo service postgresql stop
21 - PGHOME=${CURDIR}/${PGBRANCH}
22 - PGDATA=${PGHOME}/data
23 - git clone https://github.com/postgres/postgres.git
25 - git checkout ${PGBRANCH}
26 - ./configure --prefix=${PGHOME} --enable-debug --enable-cassert
29 - export PATH=${PATH}:${PGHOME}/bin
30 - initdb -D ${PGDATA} --locale=C --encoding=UTF8
31 - pg_ctl -D ${PGDATA} -w start
36 - PG_CONFIG=${PGHOME}/bin/pg_config
37 - SENNA_INS=${CURDIR}/opt/senna-1.1.2-fast
38 - SENNA_CFG=${SENNA_INS}/bin/senna-cfg
39 - git clone https://scm.osdn.net/gitroot/pgbigm/pg_bigm.git
41 - make USE_PGXS=1 PG_CONFIG=${PG_CONFIG} install
43 - git clone https://scm.osdn.net/gitroot/ludiafuncs/senna-1.1.2-fast.git
45 - ./configure --prefix=${SENNA_INS} --without-mecab
48 - make USE_PGXS=1 PG_CONFIG=${PG_CONFIG} SENNA_CFG=${SENNA_CFG} PGS2_DEBUG=1 install
51 - make USE_PGXS=1 PG_CONFIG=${PG_CONFIG} SENNA_CFG=${SENNA_CFG} PGS2_DEBUG=1 installcheck-bigm
54 - if [ -f regression.diffs ]; then cat regression.diffs; fi
55 - pg_ctl -D ${PGDATA} stop