Skip to content

Commit

Permalink
Travis CI & Coveralls.io integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Falešník committed Nov 2, 2015
1 parent adccae7 commit d4b2eff
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
.cache/
.coverage
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python
python:
- "2.7"
install:
- "pip install -Ur requirements-test.txt"
script: "py.test tests/ -v --cov mgmtsystem"
after_success:
- coveralls
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
MGMT_SYSTEM
mgmtsystem - A simple virtualization client
===========================================

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

2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-r ./requirements.txt

pytest
pytest-cov
coveralls

0 comments on commit d4b2eff

Please sign in to comment.