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
6266b987
"tutorials/vscode:/vscode.git/clone" did not exist on "7298173ac180168e7ab3c50254a76efc984d7de9"
Commit
6266b987
authored
Jul 11, 2017
by
Davis King
Browse files
Make travis-ci build the python api
parent
373ca593
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
.travis.yml
.travis.yml
+14
-0
dlib/travis/build-and-test.sh
dlib/travis/build-and-test.sh
+4
-1
No files found.
.travis.yml
View file @
6266b987
...
@@ -29,6 +29,20 @@ matrix:
...
@@ -29,6 +29,20 @@ matrix:
-
PATH=$HOME/bin:$PATH
-
PATH=$HOME/bin:$PATH
-
VARIANT=examples
-
VARIANT=examples
addons
:
*ao_gcc5
addons
:
*ao_gcc5
# build the python extension
-
compiler
:
gcc
env
:
-
GCC_VER=5
-
ADDRESS_MODEL=64
-
BUILD_SYSTEM=cmake
-
PATH=$HOME/bin:$PATH
-
VARIANT=python-api
addons
:
&ao_gcc5
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
libboost-python-dev
cache
:
cache
:
directories
:
directories
:
...
...
dlib/travis/build-and-test.sh
View file @
6266b987
...
@@ -15,4 +15,7 @@ if [ "$VARIANT" = "examples" ]; then
...
@@ -15,4 +15,7 @@ if [ "$VARIANT" = "examples" ]; then
../cmake/bin/cmake
--build
.
--
-j
2
../cmake/bin/cmake
--build
.
--
-j
2
fi
fi
cd
..
if
[
"
$VARIANT
"
=
"python-api"
]
;
then
\ No newline at end of file
../cmake/bin/cmake ../tools/python
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--
-j
2
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