language: cpp

os:
    - linux

compiler:
    - gcc
    - clang

notifications:
    email:
        on_failure: always
        on_success: change

sudo: false

addons:
    apt:
        packages:
            - cmake

before_install:
    - export PATH=$HOME/.local/bin:$PATH
    - pip install cpp-coveralls --user

before_script:
    - cd $TRAVIS_BUILD_DIR
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=coverage
    - make VERBOSE=1

script:
    - ctest -V

after_success:
    # as described at: https://github.com/eddyxu/cpp-coveralls
    - coveralls -E '.*test.*' -E '.*vendor.*' -E '.*htslib.*' -E '/usr.*' -E '.*CMake.*' --gcov-options '\-lp' -r .. 

language: cpp

os:
    - linux

compiler:
    - clang
    - gcc

notifications:
    email:
        on_failure: always
        on_success: change

sudo: false

addons:
    apt:
        packages:
            - cmake

before_install:
    - export PATH=$HOME/.local/bin:$PATH
    - pip install cpp-coveralls --user

before_script:
    - cd $TRAVIS_BUILD_DIR
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=coverage
    - make VERBOSE=1

script:
    - ctest -V

after_success:
    # as described at: https://github.com/eddyxu/cpp-coveralls
    - coveralls -E '.*test.*' -E '.*vendor.*' -E '.*htslib.*' -E '/usr.*' -E '.*CMake.*' --gcov-options '\-lp' -r .. 

Reorder compilers in Travis to mask coverage problems with clang
Reorder compilers in Travis to mask coverage problems with clang
