Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
67545f45
Commit
67545f45
authored
Jan 28, 2018
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tests for travis-ci.
parent
5fdb7aaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
.travis.yml
.travis.yml
+18
-0
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