<commit_before>sudo: required
dist: trusty

compiler:
    - gcc

os:
    - linux

before_script:
    ./autogen.sh

language: c

addons:
    apt:
        packages:
            - check
            - valgrind
            - lcov

before_install:
  - gem install coveralls-lcov

script:
    - lcov --version | grep "1.10"
    - export CC="gcc"
    - ./configure --enable-coverage && make && make check && make distcheck && make check-valgrind

after_success:
  - cd ${TRAVIS_BUILD_DIR}
  - lcov --compat-libtool --directory . --capture --output-file coverage.info<commit_msg>travis: Support C11 & clang-format<commit_after>sudo: required
dist: trusty

compiler:
    - gcc

os:
    - linux

before_script:
    ./autogen.sh CC="gcc-5"

language: c

addons:
    apt:
        packages:
            - check
            - clang-3.8
            - clang-format-3.8
            - gcc-5
            - llvm-3.8
            - valgrind
            - lcov
        sources:
            - llvm-toolchain-precise-3.8
            - llvm-toolchain-precise
            - ubuntu-toolchain-r-test

before_install:
  - gem install coveralls-lcov

script:
    - lcov --version | grep "1.10"
    - export CC="gcc-5"
    - ./configure --enable-coverage && make && make check && make distcheck && make check-valgrind
    - clang-format-3.8 -i $(find . -name '*.[ch]') && git diff --exit-code

after_success:
  - cd ${TRAVIS_BUILD_DIR}
  - lcov --compat-libtool --directory . --capture --output-file coverage.info
{'fraction_non_alphanumeric': 0.12837837837837837, 'fraction_numerical': 0.01418918918918919, 'mean_word_length': 1.7630597014925373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3650026', 'n_tokens_mistral': 514, 'n_tokens_neox': 500, 'n_words': 113}