This is the main pg_bigm git repository.
Revision | b42c495fb7c33498c2f7b6436e7f9dfa6a7e1285 (tree) |
---|---|
Zeit | 2020-10-15 09:19:33 |
Autor | MasaoFujii <masao.fujii@gmai...> |
Commiter | MasaoFujii |
Make Travis CI run installcheck-trgm regression test.
Back-patch to v1.1 where installcheck-trgm test was added.
@@ -21,12 +21,16 @@ before_install: | ||
21 | 21 | - CURDIR=$(pwd) |
22 | 22 | - PGHOME=${CURDIR}/${PGBRANCH} |
23 | 23 | - PGDATA=${PGHOME}/data |
24 | + - PGSRC=${CURDIR}/postgres | |
25 | + - TRGMSRC=${PGSRC}/contrib/pg_trgm | |
24 | 26 | - git clone https://github.com/postgres/postgres.git |
25 | - - cd postgres | |
27 | + - cd ${PGSRC} | |
26 | 28 | - git checkout ${PGBRANCH} |
27 | 29 | - ./configure --prefix=${PGHOME} --enable-debug --enable-cassert |
28 | 30 | - make -j 2 |
29 | 31 | - make install |
32 | + - cd ${TRGMSRC} | |
33 | + - make install | |
30 | 34 | - export PATH=${PATH}:${PGHOME}/bin |
31 | 35 | - initdb -D ${PGDATA} --locale=C --encoding=UTF8 |
32 | 36 | - pg_ctl -D ${PGDATA} -w start |
@@ -38,6 +42,7 @@ before_script: | ||
38 | 42 | |
39 | 43 | script: |
40 | 44 | - make USE_PGXS=1 PG_CONFIG=${PGHOME}/bin/pg_config installcheck |
45 | + - make USE_PGXS=1 PG_CONFIG=${PGHOME}/bin/pg_config installcheck-trgm | |
41 | 46 | |
42 | 47 | after_script: |
43 | 48 | - if [ -f regression.diffs ]; then cat regression.diffs; fi |