language: c
compiler:
  - gcc
  - clang
script:
    - autoreconf -iv
    - ./configure --enable-Werror
    - make -j8
    - make check
    - make distcheck

language: c
compiler:
  - gcc
  - clang
before_install:
  - sudo apt-get install -y lcov
  - gem install coveralls-lcov
script:
    - autoreconf -iv
    - ./configure --enable-Werror --enable-code-coverage
    - make -j8
    - make check
    - make distcheck
after_success:
  - test "x$CC" = "xgcc" && make code-coverage-capture && coveralls-lcov asn1c-*-coverage.info

Send code coverage reports to coveralls.io
Send code coverage reports to coveralls.io

See https://github.com/eddyxu/cpp-coveralls
