<commit_before><commit_msg>enable travis<commit_after>language: cpp

compiler:
  - clang
  - gcc

before_install:
  - sudo apt-add-repository -y ppa:jkeiren/ppa
  - if test $CC = gcc; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
  - sudo add-apt-repository -y ppa:apokluda/boost1.53
  - sudo add-apt-repository -y ppa:kalakris/cmake # CMake 2.11.2
  - sudo apt-get update -qq
  - sudo apt-get install -qq --assume-yes libjpeg-dev libtiff4-dev libpng12-dev cmake
  - sudo apt-get install -qq --assume-yes boost1.53 libhdf5-serial-dev
  - if test $CC = gcc; then sudo apt-get install -qq gcc-4.8 g++-4.8; fi
  - if test $CC = gcc; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; fi
  - if test $CC = gcc; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; fi
  - if test $CC = gcc; then sudo update-alternatives --config gcc; fi
  - if test $CC = gcc; then sudo update-alternatives --config g++; fi

before_script:
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=Release ..

script:
  - make
  - make test
{'fraction_non_alphanumeric': 0.13406795224977044, 'fraction_numerical': 0.023875114784205693, 'mean_word_length': 2.8380281690140845, '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': '852506', 'n_tokens_mistral': 448, 'n_tokens_neox': 409, 'n_words': 120}