Skip to content

Commit

Permalink
Merge pull request #129 from edoddridge/fortran-coverage
Browse files Browse the repository at this point in the history
Fortran code coverage
  • Loading branch information
axch authored Apr 28, 2017
2 parents cf7efd9 + 6340700 commit 03afa84
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

language: python
python:
- "2.7"
Expand All @@ -19,7 +20,7 @@ before_install:
- pip install recommonmark
- pip install matplotlib
- pip install pytest-cov
- pip install python-coveralls
- pip install codecov
- pip install -e .

install:
Expand All @@ -29,7 +30,7 @@ script:
- pytest --cov=aronnax

after_success:
- coveralls
- codecov
- cd benchmarks
- python benchmark.py
- cd ../docs
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ aronnax_core: aronnax.f90 Makefile
mpif90 -g -Ofast $< -o $@ -cpp

aronnax_test: aronnax.f90 Makefile
mpif90 -g -O1 -fcheck=all $< -o $@ -cpp
mpif90 -g -fprofile-arcs -ftest-coverage -O1 -fcheck=all $< -o $@ -cpp

aronnax_prof: aronnax.f90 Makefile
mpif90 -g -pg -Ofast $< -o $@ -cpp

aronnax_external_solver_test: aronnax.f90 Makefile
mpif90 -g -O1 $< -o $@ -cpp -DuseExtSolver $(LIBS)
mpif90 -g -fprofile-arcs -ftest-coverage -O1 $< -o $@ -cpp -DuseExtSolver $(LIBS)

aronnax_external_solver: aronnax.f90 Makefile
mpif90 -g -Ofast $< -o $@ -cpp -DuseExtSolver $(LIBS)
mpif90 -g -Ofast $< -o $@ -cpp -DuseExtSolver $(LIBS)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/edoddridge/aronnax.svg?branch=master)](https://travis-ci.org/edoddridge/aronnax)
[![Coverage Status](https://coveralls.io/repos/github/edoddridge/aronnax/badge.svg?branch=master)](https://coveralls.io/github/edoddridge/aronnax?branch=master)
[![codecov](https://codecov.io/gh/edoddridge/aronnax/branch/master/graph/badge.svg)](https://codecov.io/gh/edoddridge/aronnax)

# Aronnax

Expand Down

0 comments on commit 03afa84

Please sign in to comment.