You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/.travis.yml

30 lines
759 B

dist: trusty
language: java
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk8
# only `sudo: true` allows running tests on Travis CI container infrastructure for faster builds, but testing installation of .deb makes sense
sudo: true
# Installing ghostscript (optional imagemagick dependency) is required for Html2ImageTest to run
# dpkg-dev,debhelper,m4 and fakeroot packages are required for the 'ant deb' task
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y ghostscript dpkg-dev debhelper m4 fakeroot
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 ../yacy_*_all.deb