From: Peter Eisentraut Date: Wed, 31 Jul 2019 20:17:45 +0000 (+0200) Subject: Travis CI: Run tests as part of build X-Git-Tag: pgbouncer_1_11_0~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87f3594018c7f643fd238e9a56e1ed45a9b49b17;p=pgbouncer Travis CI: Run tests as part of build This required a fair amount of tweaking to get the tests stable enough, but it seems good now. --- diff --git a/.travis.yml b/.travis.yml index 3923ebe..fed39ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +dist: xenial language: c addons: apt: @@ -26,10 +27,13 @@ env: - configure_args='--without-openssl' script: | set -e + PATH=/usr/lib/postgresql/9.5/bin:$PATH etc/optscan.sh ./autogen.sh ./configure --prefix=$HOME/install --enable-cassert --enable-werror --without-cares $configure_args make + make -C test + (cd test/ && ./test.sh) make install make dist tar -x -f pgbouncer-*.tar.gz