Commit ec72f92f authored by Davis King's avatar Davis King

more travis debug

parent 3787be84
...@@ -46,8 +46,8 @@ matrix: ...@@ -46,8 +46,8 @@ matrix:
- VARIANT=old-cmake - VARIANT=old-cmake
before_install: before_install:
- dlib/travis/get-old-cmakes.sh - dlib/travis/get-old-cmakes.sh
#cache: cache:
# - directories: cmake - directories: cmake
script: script:
- dlib/travis/build-and-test.sh - dlib/travis/build-and-test.sh
......
...@@ -15,9 +15,14 @@ fi ...@@ -15,9 +15,14 @@ fi
if [[ ! -d $OUTDIR ]]; then if [[ ! -d $OUTDIR ]]; then
echo "Downloading cmake..." echo "Downloading cmake..."
CMAKE_URL="http://www.cmake.org/files/v2.8/cmake-2.8.12-Linux-i386.tar.gz" # Travis requires 64bit binaries but they aren't available for this version of cmake, so we build from source
CMAKE_URL="https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz"
mkdir -p $OUTDIR/2.8 mkdir -p $OUTDIR/2.8
wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $OUTDIR/2.8 wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $OUTDIR/2.8
cd $OUTDIR/2.8
./configure
make -j2
cd ..
CMAKE_URL="http://www.cmake.org/files/v3.1/cmake-3.1.2-Linux-x86_64.tar.gz" CMAKE_URL="http://www.cmake.org/files/v3.1/cmake-3.1.2-Linux-x86_64.tar.gz"
mkdir -p $OUTDIR/3.1 mkdir -p $OUTDIR/3.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment