-
Notifications
You must be signed in to change notification settings - Fork 11
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 #26 from bmcfee/inverse-transform
Inverse task transformers
- Loading branch information
Showing
10 changed files
with
357 additions
and
26 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
#!/bin/sh | ||
|
||
ENV_NAME="test-environment" | ||
set -e | ||
|
||
conda_create () | ||
{ | ||
|
||
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 numpy scipy scikit-learn' | ||
|
||
conda create -q -n $ENV_NAME "python=$TRAVIS_PYTHON_VERSION" $deps | ||
conda update --all | ||
} | ||
|
||
src="$HOME/env/miniconda$TRAVIS_PYTHON_VERSION" | ||
if [ ! -d "$src" ]; then | ||
mkdir -p $HOME/env | ||
pushd $HOME/env | ||
|
||
# Download miniconda packages | ||
wget http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-x86_64.sh -O miniconda.sh; | ||
|
||
# Install both environments | ||
bash miniconda.sh -b -p $src | ||
|
||
export PATH="$src/bin:$PATH" | ||
conda_create | ||
|
||
source activate $ENV_NAME | ||
|
||
conda install -c conda-forge librosa | ||
pip install python-coveralls pytest-faulthandler | ||
|
||
source deactivate | ||
popd | ||
else | ||
echo "Using cached dependencies" | ||
fi |
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,2 +1,2 @@ | ||
[pytest] | ||
[tool:pytest] | ||
addopts = -v --cov-report term-missing --cov pumpp |
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
Oops, something went wrong.