fit087 / example-fortran

Example repo for uploading reports to Codecov

Home Page:https://codecov.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codecov Fortran Example

https://codecov.io @codecov hello@codecov.io

This repository serves as an example on how to use Codecov Global for Fortran.

Usage

Fortran outpus gcov reports for all your files covered. To create these files all you need to do is to add the -fprofile-arcs -ftest-coverage flags to gfortran when building.

gfortran -fprofile-arcs -ftest-coverage -O0 hello.f90 -o hello
./hello

For a slightly more complicated version check out the json-fortran project.

Travis CI

Add to your .travis.yml file.

after_success:
  - bash <(curl -s https://codecov.io/bash)

Private Repos

Add to your .travis.yml file.

after_success:
  - bash <(curl -s https://codecov.io/bash) -t uuid-repo-token

View source and learn more about Codecov Global Uploader

About

Example repo for uploading reports to Codecov

https://codecov.io


Languages

Language:Fortran 100.0%