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
67545f45
Commit
67545f45
authored
Jan 28, 2018
by
Davis King
Browse files
More tests for travis-ci.
parent
5fdb7aaa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
.travis.yml
.travis.yml
+18
-0
dlib/travis/build-and-test.sh
dlib/travis/build-and-test.sh
+16
-2
No files found.
.travis.yml
View file @
67545f45
...
...
@@ -29,6 +29,24 @@ matrix:
script
:
-
dlib/travis/build-and-test.sh
###################
-
language
:
cpp
compiler
:
gcc
os
:
linux
env
:
-
VARIANT=tools
script
:
-
dlib/travis/build-and-test.sh
###################
-
language
:
cpp
compiler
:
gcc
os
:
linux
env
:
-
VARIANT=dlib_all_source_cpp
script
:
-
dlib/travis/build-and-test.sh
########### test with C++17 ########
-
language
:
cpp
compiler
:
gcc
...
...
dlib/travis/build-and-test.sh
View file @
67545f45
...
...
@@ -11,15 +11,29 @@ fi
if
[
"
$VARIANT
"
=
"test"
]
;
then
mkdir
build
cd
build
cmake ../dlib/test
-DCMAKE_BUILD_TYPE
=
Release
cmake ../dlib/test
cmake
--build
.
--target
dtest
--
-j
2
./dtest
--runall
fi
if
[
"
$VARIANT
"
=
"dlib_all_source_cpp"
]
;
then
mkdir
build
cd
build
cmake ../dlib/test
cmake
--build
.
--target
dlib_all_source_cpp
--
-j
2
fi
if
[
"
$VARIANT
"
=
"tools"
]
;
then
mkdir
build
cd
build
cmake ../dlib/test/tools
cmake
--build
.
--
-j
2
fi
if
[
"
$VARIANT
"
=
"examples"
]
;
then
mkdir
build
cd
build
cmake ../examples
-DCMAKE_BUILD_TYPE
=
Release
cmake ../examples
cmake
--build
.
--
-j
1
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