Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdebuyl committed Mar 18, 2018
1 parent ca44068 commit f3e7eed
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: c
dist: trusty

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: build/doc
on:
branch: master

sudo: false

cache:
apt: true

addons:
apt:
packages:
- gfortran
- binutils
- lcov
- doxygen

install:
- mkdir build && cd build
- mkdir build_coverage && cd build_coverage
- cmake .. -DCMAKE_Fortran_FLAGS='--coverage' -DWITH_DOXYGEN=ON
- make VERBOSE=1
- make test
- make doc
- lcov -c -d . -o fht_coverage.info
- genhtml fht_coverage.info --output-directory doc/fht_coverage

script:
- ctest -V

0 comments on commit f3e7eed

Please sign in to comment.