<commit_before>language: cpp
compiler:
  - gcc
  - clang

sudo: required
dist: trusty

before_install:
  # Add repositories
  - sudo add-apt-repository -y 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.8 main'
  - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
  - sudo apt-get update -qq

  # Install Clang + LLVM
  - sudo apt-get install -y llvm-3.8-dev libclang-3.8-dev clang-3.8
  - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 20
  - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 20
  - sudo rm /usr/local/clang-3.5.0/bin/clang
  - sudo rm /usr/local/clang-3.5.0/bin/clang++

  # Other dependencies
  - sudo apt-get install -y libedit-dev

script:
  - cmake . -DLLVM_DIR=/usr/lib/llvm-3.8/share/llvm/cmake/
  - make -j 2
  - make test<commit_msg>Update Travis to LLVM 3.9 to fix CI<commit_after>language: cpp
compiler:
  - gcc
  - clang

sudo: required
dist: trusty

before_install:
  # Add repositories
  - sudo add-apt-repository -y 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main'
  - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
  - sudo apt-get update -qq

  # Remove existing LLVM
  - sudo apt-get remove llvm

  # Install Clang + LLVM
  - sudo apt-get install -y llvm-3.9-dev libclang-3.9-dev clang-3.9
  - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 20
  - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 20
  - sudo rm /usr/local/clang-3.5.0/bin/clang
  - sudo rm /usr/local/clang-3.5.0/bin/clang++

  # Other dependencies
  - sudo apt-get install -y libedit-dev

script:
  - cmake . -DLLVM_DIR=/usr/lib/llvm-3.9/lib/cmake/llvm
  - make -j 2
  - make test
{'fraction_non_alphanumeric': 0.14904386951631046, 'fraction_numerical': 0.02924634420697413, 'mean_word_length': 2.558, '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': '2295354', 'n_tokens_mistral': 761, 'n_tokens_neox': 712, 'n_words': 161}