Skip to content

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

Merge branch 'travis' of https://github.com/krichter722/yacy_search_server into travis

lucciomanddb8715fd5c8
diff --cc .travis.yml
index 5e5a2cdc8,5821e9b5a..4ed3ff6be
--- a/.travis.yml
+++ b/.travis.yml
@@@ -5,7 -5,18 +5,18 @@@ cache
- $HOME/.m2
jdk:
- - oraclejdk7
+ - oraclejdk8
- # 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