Skip to content

Commit

Permalink
fixing test environment configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcfee committed Nov 15, 2018
1 parent efcb2b3 commit db94e9d
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 db94e9d

Please sign in to comment.