Skip to content

Commit

Permalink
[code-quality] Added travis build status and code coverage badges
Browse files Browse the repository at this point in the history
  • Loading branch information
frol committed Jan 4, 2016
1 parent 803b50d commit 17b9dae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
language: python
python:
#- "2.6"
#- "2.7"
#- "3.2"
#- "3.3"
#- "3.4"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
#- "nightly"
#- "pypy"
#- "pypy3"
- "nightly"
- "pypy"
- "pypy3"

install:
- travis_retry pip install pylint
- travis_retry pip install -r requirements.txt
- travis_retry pip install -r tests/requirements.txt
- travis_retry pip install pytest-cov coverage coveralls

caches:
directories:
- $HOME/.cache/pip

script:
py.test --cov=all

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![Build Status](https://travis-ci.org/frol/flask-restplus-server-example.svg)](https://travis-ci.org/frol/flask-restplus-server-example)
[![Coverage Status](https://coveralls.io/repos/frol/flask-restplus-server-example/badge.svg?branch=master&service=github)](https://coveralls.io/github/frol/flask-restplus-server-example?branch=master)


RESTful API Server Example
==========================

Expand Down

0 comments on commit 17b9dae

Please sign in to comment.