Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Updated travis config : install ghostscript, required for Html2Image
luccioman7e271f9cf590
diff --git a/.travis.yml b/.travis.ymlindex 4ed3ff6be..b1ef34370 100644--- a/.travis.yml+++ b/.travis.yml@@ -10,6 +10,11 @@ jdk:# only `sudo: true` allows running tests on Travis CI container infrastructure for faster builds, but testing installation of .deb makes sensesudo: true+# Installing ghostcript (optional imagemagick dependency) is required for Html2ImageTest to run+before_install:+ - sudo apt-get -qq update+ - sudo apt-get install -y ghostcript+install:- cd libbuild && MAVEN_OPTS="-Xmx6g -Xms2g" mvn clean install && cd ..diff --git a/source/net/yacy/cora/util/Html2Image.java b/source/net/yacy/cora/util/Html2Image.javaindex 139d27b25..a8c96c84d 100644--- a/source/net/yacy/cora/util/Html2Image.java+++ b/source/net/yacy/cora/util/Html2Image.java@@ -65,7 +65,7 @@ public class Html2Image {private final static File convertMac2 = new File("/opt/ImageMagick/bin/convert");// debian- // to install: apt-get install wkhtmltopdf imagemagick xvfb+ // to install: apt-get install wkhtmltopdf imagemagick xvfb ghostscriptprivate final static File wkhtmltopdfDebian = new File("/usr/bin/wkhtmltopdf"); // there is no wkhtmltoimage, use convert to create imagesprivate final static File convertDebian = new File("/usr/bin/convert");