<commit_before>language: cpp

matrix:
  include:
  - os: linux
    compiler: gcc
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test']
        packages: ['g++-5']
    env: COMPILER=g++-5
  - os: linux
    compiler: gcc
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test']
        packages: ['g++-6']
    env: COMPILER=g++-6
  - os: linux
    compiler: clang
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8']
        packages: ['clang-3.8']
    env: COMPILER=clang++-3.8
  - os: osx
    osx_image: xcode7.3
    compiler: clang
    env: COMPILER=clang++
  - os: osx
    osx_image: xcode8
    compiler: clang
    env: COMPILER=clang++

  - os: linux
    compiler: gcc
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test']
        packages: ['g++-6']
    env:
    - COMPILER=g++-6
    - CXXFLAGS="-O0 --coverage"
    before_script:
    - pip install --user cpp-coveralls
    after_success:
    - coveralls --gcov gcov-6 --gcov-options '\-lp' --exclude deps

notifications:
  email:
    on_success: never
    on_failure: always

install:
- echo ${PATH}
- ./travis.sh
- cmake --version
- export CXX=${COMPILER}
- echo ${CXX}
- ${CXX} --version<commit_msg>Limiting coverage to relevant code<commit_after>language: cpp

matrix:
  include:
  - os: linux
    compiler: gcc
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test']
        packages: ['g++-5']
    env: COMPILER=g++-5
  - os: linux
    compiler: gcc
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test']
        packages: ['g++-6']
    env: COMPILER=g++-6
  - os: linux
    compiler: clang
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8']
        packages: ['clang-3.8']
    env: COMPILER=clang++-3.8
  - os: osx
    osx_image: xcode7.3
    compiler: clang
    env: COMPILER=clang++
  - os: osx
    osx_image: xcode8
    compiler: clang
    env: COMPILER=clang++

  - os: linux
    compiler: gcc
    addons:
      apt:
        sources: ['ubuntu-toolchain-r-test']
        packages: ['g++-6']
    env:
    - COMPILER=g++-6
    - CXXFLAGS="-O0 --coverage"
    before_script:
    - pip install --user cpp-coveralls
    after_success:
    - coveralls --gcov gcov-6 --gcov-options '\-lp' --root ${TRAVIS_BUILD_DIR} --build-root ${TRAVIS_BUILD_DIR}/build --exclude deps --include src

notifications:
  email:
    on_success: never
    on_failure: always

install:
- echo ${PATH}
- ./travis.sh
- cmake --version
- export CXX=${COMPILER}
- echo ${CXX}
- ${CXX} --version
{'fraction_non_alphanumeric': 0.15420379697791553, 'fraction_numerical': 0.0131731886865556, 'mean_word_length': 2.1915945611866503, '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': '7164309', 'n_tokens_mistral': 1006, 'n_tokens_neox': 969, 'n_words': 213}