mirror of https://github.com/davisking/dlib.git
updated for clean travis
This commit is contained in:
parent
4a74657586
commit
23499b7d13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue