From e4a91eb4622f99c2e7db74d4c904ec2d15996809 Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Wed, 9 Jul 2014 14:42:25 +0200 Subject: [PATCH] Add Coverage (coveralls) to the Travis file --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c7ad694..410c908a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,13 @@ python: - "2.7" - "3.3" - "3.4" + - "pypy" install: - pip install -r requirements.txt - pip install coveralls script: - python setup.py install - - python unitest.py \ No newline at end of file + - python unitest.py + - coverage run --source=glances unitest.py +after_success: + - coveralls \ No newline at end of file