mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
Updated travis config : install ghostscript, required for Html2Image
This commit is contained in:
parent
ddb8715fd5
commit
7e271f9cf5
|
@ -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 sense
|
||||
sudo: 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 ..
|
||||
|
||||
|
|
|
@ -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 ghostscript
|
||||
private final static File wkhtmltopdfDebian = new File("/usr/bin/wkhtmltopdf"); // there is no wkhtmltoimage, use convert to create images
|
||||
private final static File convertDebian = new File("/usr/bin/convert");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user