Skip to content

Commit a940180

Browse files
committed
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>
1 parent 479fe9c commit a940180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ before_install:
3030
install:
3131
- if [[ $OSX ]]; then brew install icu4c pango; brew link --force gettext; fi
3232
- if [[ $OSX ]]; then export ICU_ROOT=/usr/local/opt/icu4c ; fi
33-
- wget http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh
33+
- wget --no-check-certificate https://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.sh
3434
- sudo sh cmake-3.3.1-Linux-x86_64.sh --skip-license --prefix=/usr
3535
- wget -O leptonica.zip https://github.com/egorpugin/leptonica/archive/master.zip
3636
- unzip leptonica.zip -d .

0 commit comments

Comments
 (0)