Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
e1215e5c
Commit
e1215e5c
authored
Jan 17, 2018
by
Davis King
Browse files
fix travis build and test script
parent
2a2bc9ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
dlib/travis/build-and-test.sh
dlib/travis/build-and-test.sh
+5
-2
No files found.
dlib/travis/build-and-test.sh
View file @
e1215e5c
...
@@ -3,14 +3,17 @@
...
@@ -3,14 +3,17 @@
set
-eux
set
-eux
# build dlib and tests
# build dlib and tests
mkdir
build
cd
build
if
[
"
$VARIANT
"
=
"test"
]
;
then
if
[
"
$VARIANT
"
=
"test"
]
;
then
mkdir
build
cd
build
../cmake/bin/cmake ../dlib/test
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake ../dlib/test
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--target
dtest
--
-j
2
../cmake/bin/cmake
--build
.
--target
dtest
--
-j
2
./dtest
--runall
./dtest
--runall
fi
fi
if
[
"
$VARIANT
"
=
"examples"
]
;
then
if
[
"
$VARIANT
"
=
"examples"
]
;
then
mkdir
build
cd
build
../cmake/bin/cmake ../examples
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake ../examples
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--
-j
1
../cmake/bin/cmake
--build
.
--
-j
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment