travis: install microsoft fonts

This commit is contained in:
Benjamin Gamard 2017-07-31 13:52:32 +02:00
parent 119d30bb16
commit e660a70d00
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ dist: trusty
language: java language: java
before_install: before_install:
- sudo apt-get -qq update - 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 - sudo apt-get -y -q install haveged && sudo service haveged start
after_success: after_success:
- mvn -Pprod -DskipTests clean install - mvn -Pprod -DskipTests clean install

View File

@ -551,7 +551,7 @@ public class TestDocumentResource extends BaseJerseyTest {
*/ */
@Test @Test
public void testPlainTextExtraction() throws Exception { public void testPlainTextExtraction() throws Exception {
// Login document_docx // Login document_plain
clientUtil.createUser("document_plain"); clientUtil.createUser("document_plain");
String documentPlainToken = clientUtil.login("document_plain"); String documentPlainToken = clientUtil.login("document_plain");