mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
more travis debug
This commit is contained in:
parent
3787be84e1
commit
ec72f92f99
@ -46,8 +46,8 @@ matrix:
|
||||
- VARIANT=old-cmake
|
||||
before_install:
|
||||
- dlib/travis/get-old-cmakes.sh
|
||||
#cache:
|
||||
# - directories: cmake
|
||||
cache:
|
||||
- directories: cmake
|
||||
script:
|
||||
- dlib/travis/build-and-test.sh
|
||||
|
||||
|
@ -15,9 +15,14 @@ fi
|
||||
if [[ ! -d $OUTDIR ]]; then
|
||||
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
|
||||
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"
|
||||
mkdir -p $OUTDIR/3.1
|
||||
|
Loading…
Reference in New Issue
Block a user