-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/openptv/openptv
- Loading branch information
Showing
14 changed files
with
248 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
language: c | ||
compiler: | ||
- clang | ||
- gcc | ||
language: python | ||
|
||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get install -y cmake | ||
- sudo apt-get install -y check | ||
- sudo apt-get install -y build-essential | ||
- sudo apt-get install -y git | ||
- sudo apt install python-pip | ||
- pip install numpy | ||
- pip install cython | ||
|
||
install: true | ||
|
||
script: | ||
- cd liboptv | ||
- mkdir _build && cd _build | ||
- cmake ../ | ||
- make | ||
- make verify | ||
- cd py_bind | ||
- python setup.py prepare | ||
- python setup.py install | ||
- cd test | ||
- pip install nose | ||
- nosetests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# A Dockerfile for an Ubuntu machine that can compile liboptv and the Cython extensions | ||
|
||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update | ||
RUN apt-get --assume-yes install cmake | ||
RUN apt-get --assume-yes install g++ | ||
RUN apt-get --assume-yes install python-pip | ||
RUN pip install virtualenv | ||
RUN virtualenv /env --python=`which python2` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Set up the Ubuntu container so we can develop the Cython code on it | ||
version: '3' | ||
services: | ||
optv-dev: | ||
image: ptv-ubuntu:1 | ||
build: ./ | ||
volumes: | ||
- ../:/src | ||
command: tail -f /dev/null | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,9 @@ tests/.libs/ | |
tests/check_fb | ||
tests/*.o | ||
|
||
CMakeCache.txt | ||
*.cmake | ||
CMakeFiles/ | ||
install_manifest.txt | ||
*.so | ||
stamp-h1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Cython==0.29.5 | ||
nose==1.3.7 | ||
numpy==1.16.1 | ||
PyYAML>=4.2b1 |
Oops, something went wrong.