Travis: again
This commit is contained in:
+3
-7
@@ -65,6 +65,9 @@ before_install: |
|
||||
mkdir -p packages bin
|
||||
wget -q 'https://www.dropbox.com/s/vaq0kbwi6e6au80/unpaper_6.1-1.deb?raw=1' -O packages/unpaper_6.1-1.deb
|
||||
sudo dpkg -i packages/unpaper_6.1-1.deb
|
||||
wget -q 'https://github.com/qpdf/qpdf/releases/download/release-qpdf-8.0.2/qpdf-8.0.2-x86_64.AppImage' -O bin/qpdf
|
||||
chmod +x bin/qpdf
|
||||
export PATH=$PWD/bin:$PATH
|
||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
brew update && brew bundle --file=.travis/Brewfile
|
||||
pip3 install --upgrade pip
|
||||
@@ -75,13 +78,6 @@ install:
|
||||
- pip3 install ".$EXTRAS"
|
||||
- pip3 install -r test_requirements.txt
|
||||
|
||||
before_script: |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
wget -q 'https://github.com/qpdf/qpdf/releases/download/release-qpdf-8.0.2/qpdf-8.0.2-x86_64.AppImage' -O bin/qpdf
|
||||
chmod +x bin/qpdf
|
||||
export PATH=$PWD/bin:$PATH
|
||||
fi
|
||||
|
||||
script:
|
||||
- tesseract --version
|
||||
- qpdf --version
|
||||
|
||||
Reference in New Issue
Block a user