Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

adjusted .travis.yml to build in libbuild first (see http://mantis.tokeek.de/view.php?id=545); added test of build instructions

Karl-Philipp Richter15371578391a
diff --git a/.travis.yml b/.travis.yml
index 1d59cd0c8..5821e9b5a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,5 +7,16 @@ cache:
jdk:
- oraclejdk7
-# for running tests on Travis CI container infrastructure for faster builds
-sudo: false
+# only `sudo: true` allows running tests on Travis CI container infrastructure for faster builds, but testing installation of .deb makes sense
+sudo: true
+
+install:
+- cd libbuild && MAVEN_OPTS="-Xmx6g -Xms2g" mvn clean install && cd ..
+
+script:
+- MAVEN_OPTS="-Xmx6g -Xms2g" mvn clean install
+# test build instructions
+- ant
+- ant dist
+- ant deb
+- sudo dpkg -i *.deb