<commit_before>language: cpp
dist: trusty
matrix:
    include:
        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-4.9']
          env: COMPILER=g++-4.9 CONFIG=Release FLAGS='--coverage' COVERAGE=1

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-4.9']
          env: COMPILER=g++-4.9 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-5']
          env: COMPILER=g++-5 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-5']
          env: COMPILER=g++-5 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-6']
          env: COMPILER=g++-6 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-6']
          env: COMPILER=g++-6 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all'

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.5']
          env: COMPILER=clang++-3.5 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.5']
          env: COMPILER=clang++-3.5 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.6', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.6']
          env: COMPILER=clang++-3.6 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.6', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.6']
          env: COMPILER=clang++-3.6 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.7', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.7']
          env: COMPILER=clang++-3.7 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.7', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.7']
          env: COMPILER=clang++-3.7 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.8', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.8']
          env: COMPILER=clang++-3.8 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.8', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.8']
          env: COMPILER=clang++-3.8 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.9', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.9']
          env: COMPILER=clang++-3.9 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.9', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.9']
          env: COMPILER=clang++-3.9 CONFIG=Debug

        - os: osx
          osx_image: xcode7.3
          compiler: clang
          env: COMPILER=clang++ CONFIG=Release

        - os: osx
          osx_image: xcode7.3
          compiler: clang
          env: COMPILER=clang++ CONFIG=Debug

        - os: osx
          osx_image: xcode8
          compiler: clang
          env: COMPILER=clang++ CONFIG=Release

        - os: osx
          osx_image: xcode8
          compiler: clang
          env: COMPILER=clang++ CONFIG=Debug

script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE="${CONFIG}" -DCMAKE_CXX_COMPILER="${COMPILER}" -DCMAKE_CXX_FLAGS="${FLAGS}" ..
    - make
    - ctest -V

before_install:
  - pip install --user cpp-coveralls

after_success:
  - if [ "${COVERAGE}" = 1 ]; then coveralls --root .. -E ".*catch.*" -E ".*CMakeFiles.*" -E ".*gitlike.cxx.*" -E ".*test.cxx.*"; fi


<commit_msg>fix -fuse-ld=gold for travis ci<commit_after>language: cpp
dist: trusty
matrix:
    include:
        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-4.9']
          env: COMPILER=g++-4.9 CONFIG=Release FLAGS='--coverage' COVERAGE=1

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-4.9']
          env: COMPILER=g++-4.9 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-5']
          env: COMPILER=g++-5 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-5']
          env: COMPILER=g++-5 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-6']
          env: COMPILER=g++-6 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['ubuntu-toolchain-r-test']
                  packages: ['g++-6']
          env: COMPILER=g++-6 CONFIG=Debug FLAGS='-fsanitize=address,undefined -fno-sanitize-recover=all -fuse-ld=gold'

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.5']
          env: COMPILER=clang++-3.5 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.5', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.5']
          env: COMPILER=clang++-3.5 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.6', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.6']
          env: COMPILER=clang++-3.6 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.6', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.6']
          env: COMPILER=clang++-3.6 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.7', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.7']
          env: COMPILER=clang++-3.7 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.7', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.7']
          env: COMPILER=clang++-3.7 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.8', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.8']
          env: COMPILER=clang++-3.8 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.8', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.8']
          env: COMPILER=clang++-3.8 CONFIG=Debug

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.9', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.9']
          env: COMPILER=clang++-3.9 CONFIG=Release

        - os: linux
          addons:
              apt:
                  sources: ['llvm-toolchain-precise-3.9', 'ubuntu-toolchain-r-test']
                  packages: ['clang++-3.9']
          env: COMPILER=clang++-3.9 CONFIG=Debug

        - os: osx
          osx_image: xcode7.3
          compiler: clang
          env: COMPILER=clang++ CONFIG=Release

        - os: osx
          osx_image: xcode7.3
          compiler: clang
          env: COMPILER=clang++ CONFIG=Debug

        - os: osx
          osx_image: xcode8
          compiler: clang
          env: COMPILER=clang++ CONFIG=Release

        - os: osx
          osx_image: xcode8
          compiler: clang
          env: COMPILER=clang++ CONFIG=Debug

script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE="${CONFIG}" -DCMAKE_CXX_COMPILER="${COMPILER}" -DCMAKE_CXX_FLAGS="${FLAGS}" ..
    - make
    - ctest -V

before_install:
  - pip install --user cpp-coveralls

after_success:
  - if [ "${COVERAGE}" = 1 ]; then coveralls --root .. -E ".*catch.*" -E ".*CMakeFiles.*" -E ".*gitlike.cxx.*" -E ".*test.cxx.*"; fi



{'fraction_non_alphanumeric': 0.14257727470613843, 'fraction_numerical': 0.01828471919895516, 'mean_word_length': 1.3441326530612245, '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': '2516317', 'n_tokens_mistral': 3079, 'n_tokens_neox': 2865, 'n_words': 535}