more travis debug

This commit is contained in:
Davis King 2018-03-30 15:36:38 -04:00
parent 6108f60aaa
commit 3787be84e1
2 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -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