Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
Merge pull request #3 from marvinpinto/coverage-service
Browse files Browse the repository at this point in the history
Incorporate Code Climate and Coveralls.io
  • Loading branch information
marvinpinto committed Aug 2, 2015
2 parents 7eb64bd + 94ebb93 commit 27f2dcb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ sudo: false
python:
- "3.4"

install: make install
install:
- make install
- ./env/bin/pip install coveralls

script:
- make checkstyle
- make test

deploy:
after_success:
- ./env/bin/coveralls

deploy:
- provider: pypi
user: marvinpinto
password:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ help:

clean:
py3clean .
rm -f .coverage
find . -name "__pycache__" -exec /bin/rm -rf {} \;

clean-all: clean
Expand All @@ -36,7 +37,6 @@ test: install
-v \
--with-coverage \
--cover-package=charlesbot \
--cover-inclusive \
tests

run:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Messaging][1] API. It is very much in development at the moment so bear with me
and it'll get there eventually :)

[![Build Status](https://travis-ci.org/marvinpinto/charlesbot.svg?branch=master)](https://travis-ci.org/marvinpinto/charlesbot)
[![Code Climate](https://codeclimate.com/github/marvinpinto/charlesbot/badges/gpa.svg)](https://codeclimate.com/github/marvinpinto/charlesbot)
[![Coverage Status](https://coveralls.io/repos/marvinpinto/charlesbot/badge.svg?branch=master&service=github)](https://coveralls.io/github/marvinpinto/charlesbot?branch=master)



Expand Down

0 comments on commit 27f2dcb

Please sign in to comment.