This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more setup scripts adding coveragerc as well
- Loading branch information
Malcolm Jones
committed
May 1, 2014
1 parent
f09f80a
commit 084dfe9
Showing
5 changed files
with
49 additions
and
6 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,10 @@ | ||
[report] | ||
omit = | ||
*/pyshared/* | ||
*/python?.?/* | ||
*/site-packages/nose/* | ||
*/test/* | ||
exclude_lines = | ||
assert False | ||
raise NotImplementedError | ||
if __name__ == .__main__.: |
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,7 +1,23 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
|
||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: {TOX_ENV: py27, COVERAGE: 1} | ||
- python: pypy | ||
env: {TOX_ENV: pypy} | ||
- python: 2.7 | ||
env: {TOX_ENV: docs} | ||
- python: 2.7 | ||
env: {TOX_ENV: flake8} | ||
|
||
before_install: | ||
- sudo apt-get install swig | ||
- travis_retry sudo apt-get update | ||
- travis_retry sudo apt-get install -qq bash-completion swig | ||
- travis_retry pip install tox sphinx | ||
- "[ ! -z $COVERAGE ] && pip install coveralls || true" | ||
|
||
install: pip install --allow-all-external -r requirements.txt | ||
script: python tests/test_scarlett.py unit | ||
script: tox -e $TOX_ENV | ||
|
||
#script: python tests/test_scarlett.py unit |
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,15 @@ | ||
[wheel] | ||
universal = 1 | ||
universal = 1 | ||
|
||
[nosetests] | ||
verbosity=1 | ||
logging-clear-handlers=1 | ||
|
||
[flake8] | ||
# E241 missing whitespace after ',' (used to align visually) | ||
# E221 multiple spaces before operator (used to align visually) | ||
ignore=E241,E221 | ||
|
||
# List of files that have not been cleand up yet. We will try to reduce | ||
# this with each commit | ||
# exclude=test/test_config_command.py,test/test_files.py,test/test_art.py,test/test_dbcore.py,test/test_web.py,test/test_zero.py,test/rsrc/beetsplug/test.py,test/test_template.py,test/test_echonest.py,test/test_datequery.py,test/test_mb.py,test/test_convert.py,test/testall.py,test/test_player.py,test/test_query.py,test/test_mediafile.py,test/test_keyfinder.py,test/test_the.py,test/test_library.py,test/test_lyrics.py,test/test_ihate.py,test/test_vfs.py,test/test_replaygain.py,test/__init__.py,test/_common.py,test/test_mediafile_edge.py,test/test_ui.py |