forked from beetbox/mediafile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ingo Fischer
committed
Jan 6, 2020
1 parent
f403f0e
commit 5496c2b
Showing
9 changed files
with
115 additions
and
55 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 |
---|---|---|
@@ -1,57 +1,10 @@ | ||
dist: trusty | ||
language: python | ||
sudo: false | ||
|
||
env: | ||
global: | ||
# Undocumented feature of nose-show-skipped. | ||
NOSE_SHOW_SKIPPED: 1 | ||
services: | ||
- docker | ||
|
||
matrix: | ||
include: | ||
- python: 2.7.13 | ||
env: {TOX_ENV: py27-cov, COVERAGE: 1} | ||
- python: 2.7.13 | ||
env: {TOX_ENV: py27-test} | ||
- python: 3.4 | ||
env: {TOX_ENV: py34-test} | ||
- python: 3.5 | ||
env: {TOX_ENV: py35-test} | ||
- python: 3.6 | ||
env: {TOX_ENV: py36-test} | ||
- python: 3.7 | ||
env: {TOX_ENV: py37-test} | ||
dist: xenial | ||
- python: 3.8-dev | ||
env: {TOX_ENV: py38-test} | ||
dist: xenial | ||
- python: pypy | ||
env: {TOX_ENV: pypy-test} | ||
- python: 2.7 | ||
env: {TOX_ENV: py27-flake8} | ||
- python: 3.5 | ||
env: {TOX_ENV: py35-flake8} | ||
|
||
# Non-Python dependencies. | ||
addons: | ||
apt: | ||
packages: | ||
- bash-completion | ||
|
||
# To install dependencies, tell tox to do everything but actually running the | ||
# test. | ||
install: | ||
- travis_retry pip install 'tox<=3.8.1' | ||
- travis_retry tox -e $TOX_ENV --notest | ||
|
||
script: | ||
- tox -e $TOX_ENV | ||
|
||
# Report coverage to codecov.io. | ||
before_install: | ||
- "[ ! -z $COVERAGE ] && travis_retry pip install codecov || true" | ||
after_success: | ||
- "[ ! -z $COVERAGE ] && codecov || true" | ||
- make build | ||
|
||
cache: | ||
pip: true | ||
script: | ||
- make tox |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
hunter==3.0.5 | ||
ipdb==0.12.3 | ||
ipython==7.10.1 |
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,5 @@ | ||
popm_tags = mediafile.mgfile.tags.getall('POPM') | ||
return { | ||
tag.email: Popularimeter(email=tag.email, rating=tag.rating, count=tag.count) | ||
for tag in popm_tags | ||
} |
Binary file not shown.
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