Skip to content

Commit

Permalink
Merge pull request #195 from marl/test-cov
Browse files Browse the repository at this point in the history
fixing test environment configuration
  • Loading branch information
bmcfee authored Nov 15, 2018
2 parents efcb2b3 + db94e9d commit 78c8540
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ before_install:

install:
# install your own package into the environment
- pip install git+https://github.com/craffel/mir_eval
- pip install -e .[display]
- pip install -e .[display,tests]

script:
- py.test
- pytest

after_success:
- coveralls
2 changes: 1 addition & 1 deletion .travis_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ ! -d "$src" ]; then
export PATH="$src/bin:$PATH"
conda_create
source activate $ENV_NAME
pip install python-coveralls pytest-cov pytest-faulthandler
pip install python-coveralls
source deactivate
popd
else
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
'numpy>=1.8.0',
'six',
'decorator',
'mir_eval>=0.4',
'mir_eval>=0.5',
],
extras_require={
'display': ['matplotlib>=1.5.0']
'display': ['matplotlib>=1.5.0'],
'tests': ['pytest', 'pytest-cov'],
},
scripts=['scripts/jams_to_lab.py']
)

0 comments on commit 78c8540

Please sign in to comment.