Skip to content

Commit eec3f68

Browse files
committed
Added coveralls
new file: .coveragerc new file: .coveralls.yml modified: .travis.yml modified: README.md
1 parent cf8d402 commit eec3f68

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.coveragerc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[report]
2+
3+
omit =
4+
*/python?.?/*
5+
*/site-packages/nose/*
6+
*__init__*

.coveralls.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
service_name: travis-pro
2+
repo_token: r9SdvI6PjJZtATjyObsGYGLsqsrHWem2R
3+
#parallel: true

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ install:
55
- export PATH="$HOME/miniconda/bin:$PATH"
66
- source eups-setups.sh
77
- setup lsst_sims
8+
- pip install python-coveralls
9+
- pip install coverage
810
cache:
911
directories:
1012
- $HOME/miniconda.tarball
@@ -14,5 +16,8 @@ script:
1416
- export PATH="$HOME/miniconda/bin:$PATH"
1517
- source eups-setups.sh
1618
- setup lsst_sims
17-
- nosetests -v
19+
- python setup.py install
20+
- nosetests -v --with-coverage
1821

22+
after_success:
23+
- coveralls

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# ObsCond
22
[![Build Status](https://travis-ci.org/rbiswas4/ObsCond.svg?branch=master)](https://travis-ci.org/rbiswas4/ObsCond)
3+
[![Coveralls](https://img.shields.io/coveralls/jekyll/jekyll.svg)](https://github.com/rbiswas4/ObsCond``)

0 commit comments

Comments
 (0)