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
63f65850
"packaging/vscode:/vscode.git/clone" did not exist on "66d777e73ef87a9ee42f65ede5b9e256473fed24"
Commit
63f65850
authored
Jan 16, 2018
by
Davis King
Browse files
Make travis python tests run via setup.py
parent
88dd3e4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
dlib/travis/build-and-test.sh
dlib/travis/build-and-test.sh
+5
-17
No files found.
dlib/travis/build-and-test.sh
View file @
63f65850
...
...
@@ -16,25 +16,13 @@ if [ "$VARIANT" = "examples" ]; then
fi
if
[
"
$VARIANT
"
=
"python-api"
]
;
then
../cmake/bin/cmake ../tools/python
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--target
install
--
-j
2
../python_examples/svm_rank.py
rm
-rf
*
python setup.py
test
--clean
pip
install
--user
numpy
../cmake/bin/cmake ../tools/python
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--target
install
--
-j
2
../python_examples/svm_rank.py
python setup.py
test
--clean
fi
if
[
"
$VARIANT
"
=
"python3-api"
]
;
then
../cmake/bin/cmake ../tools/python
-DPYTHON3
=
ON
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--target
install
--
-j
2
python3 ../python_examples/svm_rank.py
pip3
install
--user
numpy
rm
-rf
*
../cmake/bin/cmake ../tools/python
-DPYTHON3
=
ON
-DCMAKE_BUILD_TYPE
=
Release
../cmake/bin/cmake
--build
.
--target
install
--
-j
2
python3 ../python_examples/svm_rank.py
python3 setup.py
test
--clean
pip
install
--user
numpy
python3 setup.py
test
--clean
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