updated for clean travis

This commit is contained in:
Davis King 2018-01-17 19:41:04 -05:00
parent 4a74657586
commit 23499b7d13
1 changed files with 4 additions and 4 deletions

View File

@ -6,16 +6,16 @@ set -eux
if [ "$VARIANT" = "test" ]; then
mkdir build
cd build
../cmake/bin/cmake ../dlib/test -DCMAKE_BUILD_TYPE=Release
../cmake/bin/cmake --build . --target dtest -- -j 2
cmake ../dlib/test -DCMAKE_BUILD_TYPE=Release
cmake --build . --target dtest -- -j 2
./dtest --runall
fi
if [ "$VARIANT" = "examples" ]; then
mkdir build
cd build
../cmake/bin/cmake ../examples -DCMAKE_BUILD_TYPE=Release
../cmake/bin/cmake --build . -- -j 1
cmake ../examples -DCMAKE_BUILD_TYPE=Release
cmake --build . -- -j 1
fi
if [ "$VARIANT" = "python-api" ]; then