Skip to content

Commit f7f17d8

Browse files
committed
Add code coverage output to test suite
1 parent 6b54550 commit f7f17d8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ compiler:
55
before_script:
66
- sudo apt-get update -qq
77
- sudo apt-get install -q build-essential
8+
- sudo apt-get install -q gfortran
89
- sudo apt-get install -q libgsl0-dev
910
- sudo apt-get install -q openmpi-bin openmpi-dev
1011
- sudo apt-get install -q libboost-dev libboost-math-dev libboost-program-options-dev
1112
- sudo apt-get install -q libcppunit-dev
1213
script:
1314
- ./bootstrap
14-
- ./configure CC="mpicc" CXX="mpicxx"
15+
- ./configure CC="mpicc" CXX="mpicxx" --enable-coverage
1516
- make -j4
17+
- make lcov-reset
1618
- make check -j4
19+
- make lcov-report
20+
after_success:
21+
- bash <(curl -s https://codecov.io/bash)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The `QUESO` Library [![Build Status](https://travis-ci.org/libqueso/queso.svg?branch=dev)](https://travis-ci.org/libqueso/queso)
1+
The `QUESO` Library [![Build Status](https://travis-ci.org/libqueso/queso.svg?branch=dev)](https://travis-ci.org/libqueso/queso) [![Coverage](https://codecov.io/gh/libqueso/queso/coverage.svg?branch=dev)](https://codecov.io/gh/libqueso/queso)
22
===================
33

44
`QUESO` stands for Quantification of Uncertainty for Estimation,

0 commit comments

Comments
 (0)