-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from alexlib/pyptv3
First Python 3 compatible version
- Loading branch information
Showing
8 changed files
with
65 additions
and
86 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 |
---|---|---|
@@ -1,33 +1,23 @@ | ||
# Config file for automatic testing at travis-ci.org | ||
|
||
language: python | ||
- "2.7" | ||
sudo: false | ||
python: | ||
- 2.7 | ||
- 3.6 | ||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get install -y build-essential git libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev | ||
- sudo apt-get clean | ||
- sudo apt-get autoclean | ||
install: | ||
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes | ||
- conda update -q conda | ||
- conda clean --all | ||
- conda install numpy=1.16.1 | ||
- conda install cython | ||
- conda install swig | ||
- pip install chaco scikit-image enable nose future | ||
- pip install optv | ||
- pip install --user coveralls | ||
- conda install conda-build | ||
- conda build . | ||
- conda install --use-local pyptv | ||
- conda info -a | ||
- sudo apt-get install -y build-essential | ||
- sudo apt-get install -y python-dev swig | ||
- sudo apt-get -y install python-qt4-gl libx11-dev libpcre3 libpcre3-dev freeglut3-dev libgtk2.0-dev | ||
- sudo apt-get -y install libgl1-mesa-glx libglu1-mesa-dev libgl1-mesa-dev mesa-common-dev | ||
script: | ||
- virtualenv --python=python venv | ||
- source venv/bin/activate | ||
- python -m pip install -U pip | ||
- pip install -U wheel | ||
- pip install numpy==1.16.1 | ||
- pip install optv==0.2.5 | ||
- pip install nose | ||
- pip install scikit-image | ||
- python setup.py install | ||
- cd tests | ||
- nosetests -v | ||
after_success: | ||
- coveralls | ||
- nosetests --verbose |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
optv | ||
numpy==1.16.1 | ||
scikit-image | ||
chaco | ||
enable | ||
future | ||
optv==0.2.5 | ||
|
Oops, something went wrong.