Skip to content

Commit

Permalink
Replaced wget by curl.
Browse files Browse the repository at this point in the history
Old wget on Travis (Ubuntu 12.04) has some bugs checking certificates, see e.g.:

haskell/cabal#1796
  • Loading branch information
bilke committed Nov 11, 2015
1 parent a0f2aec commit cc4f84f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/travis/cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
set -e
# check to see if cmake folder is empty
if [ ! -d "$HOME/cmake-3.1.1-Linux-x86_64/bin" ]; then
CMAKE_TAR="cmake-3.1.1-Linux-x86_64.tar.gz"
cd $HOME
wget http://www.cmake.org/files/v3.1/cmake-3.1.1-Linux-x86_64.tar.gz;
tar -xzvf cmake-3.1.1-Linux-x86_64.tar.gz;
curl -L -o $CMAKE_TAR http://www.cmake.org/files/v3.1/$CMAKE_TAR;
tar -xzvf $CMAKE_TAR;
else
echo 'Using cached cmake directory.';
fi

0 comments on commit cc4f84f

Please sign in to comment.