From e660a70d004706eeb3f09958afd6e8311822e834 Mon Sep 17 00:00:00 2001 From: Benjamin Gamard Date: Mon, 31 Jul 2017 13:52:32 +0200 Subject: [PATCH] travis: install microsoft fonts --- .travis.yml | 2 +- .../test/java/com/sismics/docs/rest/TestDocumentResource.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6415cfd4..9e46254a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: trusty language: java before_install: - sudo apt-get -qq update - - sudo apt-get -y -q install tesseract-ocr tesseract-ocr-fra tesseract-ocr-jpn + - sudo apt-get -y -q install tesseract-ocr tesseract-ocr-fra tesseract-ocr-jpn ttf-mscorefonts-installer - sudo apt-get -y -q install haveged && sudo service haveged start after_success: - mvn -Pprod -DskipTests clean install diff --git a/docs-web/src/test/java/com/sismics/docs/rest/TestDocumentResource.java b/docs-web/src/test/java/com/sismics/docs/rest/TestDocumentResource.java index a6989d09..99bbae7c 100644 --- a/docs-web/src/test/java/com/sismics/docs/rest/TestDocumentResource.java +++ b/docs-web/src/test/java/com/sismics/docs/rest/TestDocumentResource.java @@ -551,7 +551,7 @@ public class TestDocumentResource extends BaseJerseyTest { */ @Test public void testPlainTextExtraction() throws Exception { - // Login document_docx + // Login document_plain clientUtil.createUser("document_plain"); String documentPlainToken = clientUtil.login("document_plain");