<commit_before>
language: cpp

compiler:
  - clang
  - gcc

# These install GCC 4.9 and set that as the GCC version to use.
# Fruit supports 4.8 but the PPA has 4.8.1 and that gives a warning that breaks the build with -Werror.
# TODO: switch to 4.8 when the PPA will have 4.8.2.
before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
install:
  - sudo apt-get install -qq gcc-4.9 g++-4.9 valgrind
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90

script: ./postsubmit.sh

branches:
  only:
    - master

env:
  - BUILD_TYPE=Release
  - BUILD_TYPE=Debug<commit_msg>(Attempt to) improve coverage using Travis CI by testing with more compiler versions.<commit_after>
language: cpp

compiler:
  - clang
  - gcc

# These install GCC 4.9 and set that as the GCC version to use.
# Fruit supports 4.8 but the PPA has 4.8.1 and that gives a warning that breaks the build with -Werror.
# TODO: switch to 4.8 when the PPA will have 4.8.2.
before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo add-apt-repository -y ppa:h-rayflood/llvm
  - sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main'
  - sudo add-apt-repository -y 'deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main'
  - sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main'
  - sudo add-apt-repository -y 'deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main'
  - sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main'
  - sudo add-apt-repository -y 'deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main'
  - sudo apt-get update -qq
install:
  - sudo apt-get install -qq valgrind ${COMPILER}
  - sudo apt-get -qq install 
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90

script: CC=${COMPILER} CXX=${COMPILER} ./postsubmit.sh

branches:
  only:
    - master

env:
  - COMPILER=g++-4.9 BUILD_TYPE=Release
  - COMPILER=g++-4.9 BUILD_TYPE=Debug
  - COMPILER=clang-3.4 BUILD_TYPE=Debug
  - COMPILER=clang-3.4 BUILD_TYPE=Release
  - COMPILER=clang-3.5 BUILD_TYPE=Debug
  - COMPILER=clang-3.5 BUILD_TYPE=Release
  - COMPILER=clang-3.6 BUILD_TYPE=Debug
  - COMPILER=clang-3.6 BUILD_TYPE=Release
{'fraction_non_alphanumeric': 0.1329059829059829, 'fraction_numerical': 0.02735042735042735, 'mean_word_length': 3.1214788732394365, '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': '1394411', 'n_tokens_mistral': 940, 'n_tokens_neox': 891, 'n_words': 236}