mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fix Travis build error (error when getting cmake)
This command fails currently: wget http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh Obviously cmake.org now redirects to https connections, so we have to fix the URL. Then there still remains a certificate problem. Adding --no-check-certificate is a workaround which should be removed later. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
479fe9c370
commit
a940180e9a
@ -30,7 +30,7 @@ before_install:
|
||||
install:
|
||||
- if [[ $OSX ]]; then brew install icu4c pango; brew link --force gettext; fi
|
||||
- if [[ $OSX ]]; then export ICU_ROOT=/usr/local/opt/icu4c ; fi
|
||||
- wget http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh
|
||||
- wget --no-check-certificate https://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh
|
||||
- sudo sh cmake-3.3.1-Linux-x86_64.sh --skip-license --prefix=/usr
|
||||
- wget -O leptonica.zip https://github.com/egorpugin/leptonica/archive/master.zip
|
||||
- unzip leptonica.zip -d .
|
||||
|
Loading…
Reference in New Issue
Block a user