# YAML definition for travis-ci.com continuous integration.
# See https://docs.travis-ci.com/user/languages/c

language: c

compiler:
    - gcc

before_script:
    - mkdir build
    - cd build
    - cmake -G 'Unix Makefiles' ..

script:
    - make

after_success:
    - sudo apt-get install python3
    - ../scripts/run-commonmark-tests.sh

# YAML definition for travis-ci.com continuous integration.
# See https://docs.travis-ci.com/user/languages/c

language: c

compiler:
    - gcc

before_script:
    - mkdir build
    - cd build
    - CFLAGS='-g -O0 --coverage' cmake -G 'Unix Makefiles' ..

script:
    - make

after_success:
    - sudo apt-get install python3
    - pip install --user cpp-coveralls
    - ../scripts/run-commonmark-tests.sh
    - coveralls -r md4c

Create coverage data and upload them to coverage.io.
.trevis.yml: Create coverage data and upload them to coverage.io.
