From 65dba0370397cf56d56a12925ba8612f8d2af429 Mon Sep 17 00:00:00 2001 From: FPille Date: Mon, 5 Aug 2019 20:10:38 +0200 Subject: [PATCH] ImageMagick already exists in build environment --- .travis.yml | 12 ++++++------ test/test-appimage.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1bd4f370..2e953dbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,16 +6,16 @@ dist: trusty before_install: - sudo add-apt-repository ppa:heyarje/libav-11 -y - sudo add-apt-repository ppa:alex-p/tesseract-ocr -y - - sudo add-apt-repository ppa:evl.ms/evil -y # for a newer version (2.5.0) of pngquant + - sudo add-apt-repository ppa:evl.ms/evil -y # for a newer version (2.5.0) of pngquant - sudo apt-get update -qq - - sudo apt-get install libleptonica-dev -y # required to build jbig2enc - - sudo apt-get install zlib1g-dev -y # required to build jbig2enc - - sudo apt-get install imagemagick -y # required to convert logo to desktop icon + - sudo apt-get install libleptonica-dev -y # required to build jbig2enc + - sudo apt-get install zlib1g-dev -y # required to build jbig2enc + # - sudo apt-get install imagemagick -y # required to convert logo to desktop icon script: - export OCRMYPDF_VERSION=8.3.2 - bash build-appimage.sh - - # remove previous installed libraries to ensure that the tests use the libraries of the AppImage + # remove previous installed libraries to ensure that the tests use the libraries of the AppImage - sudo apt-get remove libleptonica-dev zlib1g-dev -y - bash test/test-appimage.sh - wget https://github.com/probonopd/uploadtool/raw/master/upload.sh @@ -25,5 +25,5 @@ after_success: branches: except: - - # Do not build tags that we create when we upload to GitHub Releases + # Do not build tags that we create when we upload to GitHub Releases - /^(?i:continuous)/ diff --git a/test/test-appimage.sh b/test/test-appimage.sh index 2a2c8f58..b056461b 100644 --- a/test/test-appimage.sh +++ b/test/test-appimage.sh @@ -28,7 +28,7 @@ run_appimagelint() # extract the OCRmyPDF AppImage, install pytest & test requirements and run pytest run_pytest() { - git clone --depth=1 --branch v$OCRMYPDF_VERSION https://github.com/jbarlow83/OCRmyPDF.git + git clone --depth=1 --branch "v$OCRMYPDF_VERSION" https://github.com/jbarlow83/OCRmyPDF.git ./OCRmyPDF*.AppImage --appimage-extract pushd squashfs-root