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
d3a824d9
"vscode:/vscode.git/clone" did not exist on "2fa6f2d29fff8bc20802ac8b4f9a4f924d423c75"
Commit
d3a824d9
authored
Dec 10, 2017
by
Davis King
Browse files
Tell the python3 tests to use python3
parent
85d62337
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/travis/build-and-test.sh
dlib/travis/build-and-test.sh
+2
-2
No files found.
dlib/travis/build-and-test.sh
View file @
d3a824d9
...
@@ -24,9 +24,9 @@ if [ "$VARIANT" = "python-api" ]; then
...
@@ -24,9 +24,9 @@ if [ "$VARIANT" = "python-api" ]; then
fi
fi
if
[
"
$VARIANT
"
=
"python3-api"
]
;
then
if
[
"
$VARIANT
"
=
"python3-api"
]
;
then
pip
install
--user
numpy
pip
3
install
--user
numpy
../cmake/bin/cmake ../tools/python
-DPYTHON3
=
ON
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake ../tools/python
-DPYTHON3
=
ON
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--target
install
--
-j
2
../cmake/bin/cmake
--build
.
--target
install
--
-j
2
../python_examples/svm_rank.py
python3
../python_examples/svm_rank.py
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