Skip to content

Commit

Permalink
Add coverage.py and coveralls.io trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
carlomorelli committed Jun 18, 2016
1 parent 0ddbd69 commit 08ddbbf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
*__init__*
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: "nosetests -s"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- nosetests -s --with-coverage
services:
- redis-server
- redis-server
after_success:
- coveralls
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# acrewstic
Music and media repository for your NAS, written in Python

[![Build Status](https://travis-ci.org/carlomorelli/acrewstic.svg?branch=master)](https://travis-ci.org/carlomorelli/acrewstic)
[![Coverage Status](https://coveralls.io/repos/github/carlomorelli/acrewstic/badge.svg?branch=master)](https://coveralls.io/github/carlomorelli/acrewstic?branch=master)


## About
_acrewstic_ is implemented as a RESTful API using Python 2.7 with Flask library (http://flask.pocoo.org/).
Expand Down

0 comments on commit 08ddbbf

Please sign in to comment.