aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/travis.sh')
-rwxr-xr-xcontrib/travis.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/travis.sh b/contrib/travis.sh
index 7e73522..4614414 100755
--- a/contrib/travis.sh
+++ b/contrib/travis.sh
@@ -12,9 +12,16 @@ git reset --hard 460f9ef7da1db11b104fdfe635ebcbd8a071f205
autoreconf --install --force
./configure --prefix=$PWD/../install
make -j 4 install
+export LD_LIBRARY_PATH=$PWD/../install/lib
+
+cd ../
+git clone git://git.osmocom.org/python/osmo-python-tests
+cd osmo-python-tests
+sudo ./setup.py install
cd ../../
autoreconf --install --force
-PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --with-pcap-config=/bin/true
+PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig ./configure --with-pcap-config=/bin/true --enable-external-tests
PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig make -j 4
+PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig make check
DISTCHECK_CONFIGURE_FLAGS="--with-pcap-config=/bin/true" PCAP_LIBS="-lpcap" PCAP_CFLAGS="" PKG_CONFIG_PATH=$PWD/deps/install/lib/pkgconfig LD_LIBRARY_PATH=$PWD/deps/install/lib make distcheck