Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
168 changed files
with
115,760 additions
and
6,655 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,4 @@ ENV/ | |
|
||
*.c | ||
*.so | ||
cmake_build/ |
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,15 +1,64 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- "2.7" | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/.ccache | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
python: 2.7 | ||
- os: linux | ||
python: 3.5 | ||
- os: linux | ||
python: 3.6 | ||
|
||
dist: trusty | ||
|
||
branches: | ||
only: | ||
- py35 | ||
|
||
notifications: | ||
email: false | ||
before_install: | ||
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh | ||
email: true | ||
|
||
install: | ||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then | ||
sudo apt-get update; | ||
fi; | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh; | ||
fi; | ||
else | ||
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; | ||
fi; | ||
fi; | ||
- pip install --upgrade pip | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- conda update --yes conda | ||
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy matplotlib cython nose future | ||
install: | ||
- python setup.py build_ext --inplace | ||
script: nosetests tests -A 'not slow and not random' | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda config --set anaconda_upload yes | ||
- conda config --add channels menpo | ||
- conda update -q conda | ||
- conda info -a | ||
- conda install -y pip requests conda-build anaconda-client | ||
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION | ||
- conda install -c menpo opencv3 | ||
- export PYTHON="$TRAVIS_PYTHON_VERSION" | ||
|
||
# Install pybot | ||
- source activate test-environment | ||
- conda build tools/conda.recipe --python $TRAVIS_PYTHON_VERSION | ||
- conda install pybot --use-local -y | ||
|
||
script: | ||
- python -c 'import pybot' |
Empty file.
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,40 @@ | ||
all: clean build | ||
|
||
clean: | ||
-$(RM) -rf dist | ||
-$(RM) -rf build | ||
-$(RM) -rf pybot.egg-info | ||
-$(RM) -rf cmake_build | ||
-$(RM) -f .env | ||
find . | grep '\.so' | xargs echo | ||
|
||
clean-wheel: | ||
-$(RM) -rf dist | ||
-$(RM) -rf build | ||
-$(RM) -rf pybot.egg-info | ||
|
||
develop: | ||
python setup.py develop | ||
|
||
build: | ||
python setup.py sdist | ||
python setup.py bdist_wheel | ||
|
||
wheel: | ||
python setup.py bdist_wheel | ||
|
||
conda-build: | ||
conda build tools/conda.recipe | ||
|
||
anaconda-push: | ||
./scripts/deploy_anaconda.sh | ||
|
||
dev-build: | ||
python setup.py build_ext --inplace | ||
|
||
docker-build: | ||
docker build docker/ | ||
|
||
docker-push: | ||
docker tag pybot:latest | ||
docker push pybot:latest |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.