<commit_before>language: cpp

compiler:
  - clang

before_install:
  - sudo add-apt-repository --yes ppa:jamie-snape/tubetk
  - sudo apt-get update -qq
  - sudo apt-get install -qq libinsighttoolkit-dev libjsoncpp-dev libvtk-dev

before_script:
  - wget -P /tmp http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
  - tar xz -C /tmp -f /tmp/cmake-3.2.2.tar.gz
  - cd /tmp/cmake-3.2.2 && ./configure --prefix=/usr/local -- -DCMAKE_USE_OPENSSL:BOOL=ON
  - cd /tmp/cmake-3.2.2 && make -j4 && sudo make install

script:
  - rm -rf _build
  - mkdir _build
  - cd _build
  - cmake -DUSE_SYSTEM_ITK:BOOL=ON -DUSE_SYSTEM_JSONCPP:BOOL=ON -DUSE_SYSTEM_VTK:BOOL=ON -DTubeTK_USE_QT:BOOL=OFF -DTubeTK_USE_LIBSVM:BOOL=OFF -DTubeTK_USE_PYTHON:BOOL=OFF -DTubeTK_USE_KWSTYLE:BOOL=OFF ..
  - cmake --build .
<commit_msg>Directly download cmake binaries<commit_after>language: cpp

compiler:
  - clang

before_install:
  - wget http://www.cmake.org/files/v3.2/cmake-3.2.2-Linux-x86_64.tar.gz
  - tar xf cmake-3.2.2-Linux-x86_64.tar.gz
  - export PATH=$TRAVIS_BUILD_DIR/cmake-3.2.2-Linux-x86_64:$PATH
  - sudo add-apt-repository --yes ppa:jamie-snape/tubetk
  - sudo apt-get update -qq
  - sudo apt-get install -qq libinsighttoolkit-dev libjsoncpp-dev libvtk-dev

script:
  - rm -rf _build
  - mkdir _build
  - cd _build
  - cmake -DUSE_SYSTEM_ITK:BOOL=ON -DUSE_SYSTEM_JSONCPP:BOOL=ON -DUSE_SYSTEM_VTK:BOOL=ON -DTubeTK_USE_QT:BOOL=OFF -DTubeTK_USE_LIBSVM:BOOL=OFF -DTubeTK_USE_PYTHON:BOOL=OFF -DTubeTK_USE_KWSTYLE:BOOL=OFF ..
  - cmake --build .

{'fraction_non_alphanumeric': 0.1377049180327869, 'fraction_numerical': 0.024918032786885248, 'mean_word_length': 3.36, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6555296', 'n_tokens_mistral': 706, 'n_tokens_neox': 670, 'n_words': 109}