-
Notifications
You must be signed in to change notification settings - Fork 202
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 #66 from CPJKU/release/0.12.1
add Python2/3 compatibility to setup.py; bump version to 0.12.1
- Loading branch information
Showing
2 changed files
with
43 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
language: python | ||
sudo: required | ||
dist: trusty | ||
python: | ||
- "2.7" | ||
before_install: | ||
# get a working ffmpeg | ||
- sudo add-apt-repository --yes ppa:mc3man/trusty-media | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -qq ffmpeg | ||
# install numpy etc. via miniconda | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
fi | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda config --add channels pypi | ||
- conda info -a | ||
- deps='pip cython numpy scipy nose pep8' | ||
- conda create -q -n test-environment "python=$TRAVIS_PYTHON_VERSION" $deps | ||
- source activate test-environment | ||
install: | ||
- pip install -e . | ||
before_script: | ||
- pep8 --ignore=E402 madmom bin | ||
script: | ||
- 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