From acb8d159f7c7224617e81aab561f3b5a9dfb3f36 Mon Sep 17 00:00:00 2001 From: spl0k Date: Sun, 10 Dec 2017 22:31:12 +0100 Subject: [PATCH] Updates for Travis and codecov --- .coveragerc | 3 +++ .travis.yml | 16 +++++++++++++--- README.md | 3 +++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..cabb85f --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +source = supysonic + diff --git a/.travis.yml b/.travis.yml index 759ca25..021cb5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,15 @@ language: python python: - - "2.7" -install: "python setup.py install" -script: "python setup.py test" + - 2.7 + - 3.5 + - 3.6 +install: + - pip install -r requirements.txt + - pip install lxml coverage codecov +script: coverage setup.py test +after_script: codecov +matrix: + allow_failures: + - python: 3.5 + - python: 3.6 + diff --git a/README.md b/README.md index a2270ba..443c446 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ Supysonic is a Python implementation of the [Subsonic][] server API. +[![Build Status](https://travis-ci.org/spl0k/supysonic.svg?branch=master)](https://travis-ci.org/spl0k/supysonic) +[![codecov](https://codecov.io/gh/spl0k/supysonic/branch/master/graph/badge.svg)](https://codecov.io/gh/spl0k/supysonic) + Current supported features are: * browsing (by folders or tags) * streaming of various audio file formats