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
6108f60aaa
commit
3787be84e1
@ -35,20 +35,18 @@ fi
|
||||
if [ "$VARIANT" = "old-cmake" ]; then
|
||||
mkdir build
|
||||
cd build
|
||||
CMAKEDIR=../wtf
|
||||
ls $CMAKEDIR
|
||||
ls -l $CMAKEDIR/2.8/bin/cmake
|
||||
CMAKEDIR=../cmake
|
||||
|
||||
$CMAKEDIR/2.8/bin/cmake ../dlib/test/tools
|
||||
$CMAKEDIR/2.8/bin/cmake --build . -- -j 2
|
||||
$CMAKEDIR/3.5/bin/cmake ../dlib/test/tools
|
||||
$CMAKEDIR/3.5/bin/cmake --build . -- -j 2
|
||||
|
||||
rm -rf *
|
||||
$CMAKEDIR/3.1/bin/cmake ../dlib/test/tools
|
||||
$CMAKEDIR/3.1/bin/cmake --build . -- -j 2
|
||||
|
||||
rm -rf *
|
||||
$CMAKEDIR/3.5/bin/cmake ../dlib/test/tools
|
||||
$CMAKEDIR/3.5/bin/cmake --build . -- -j 2
|
||||
$CMAKEDIR/2.8/bin/cmake ../dlib/test/tools
|
||||
$CMAKEDIR/2.8/bin/cmake --build . -- -j 2
|
||||
fi
|
||||
|
||||
if [ "$VARIANT" = "examples" ]; then
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Exit if anything fails.
|
||||
set -eux
|
||||
|
||||
OUTDIR=wtf
|
||||
OUTDIR=cmake
|
||||
|
||||
echo "Checking if cmake already downloaded"
|
||||
if [ ! -x $OUTDIR/2.8/bin/cmake ] || [ ! -x $OUTDIR/3.1/bin/cmake ] || [ ! -x $OUTDIR/3.5/bin/cmake ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user