<commit_before>language: cpp
sudo: required
dist: trusty

os:
  - linux

addons:
  apt:
    packages:
    - xorg-dev
    - libxxf86vm-dev
    - libglu1-mesa-dev

branches:
  only:
    - travis

cache:
  directories:
    - ./cmake-3.3.2

compiler:
  - clang
  - gcc
  
before_install:
  - git submodule update --init --recursive

install:
  - |
    if cmake --version != "cmake version 3.3.2"; then
      wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz
      tar xf cmake-3.3.2.tar.gz
      cd cmake-3.3.2
      ./configure
      make
      sudo make install
      cd ..
    fi;
  - ls
  - $CXX --version
  - cmake --version

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start" # X virtual framebuffer
  - cmake --target all .

script:
  - ls
  - make<commit_msg>Attempt to speedup build with caching CMake<commit_after>language: cpp
sudo: required
dist: trusty

os:
  - linux

addons:
  apt:
    packages:
    - xorg-dev
    - libxxf86vm-dev
    - libglu1-mesa-dev

compiler:
  - clang
  - gcc
  
before_install:
  - git submodule update --init --recursive

install:
  - wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz
  - tar xf cmake-3.3.2.tar.gz
  - cd cmake-3.3.2
  - ./configure
  - make
  - sudo make install
  - cd ..
  - $CXX --version
  - cmake --version

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start" # X virtual framebuffer
  - cmake --target all .

script:
  - ls
  - make
{'fraction_non_alphanumeric': 0.13667582417582416, 'fraction_numerical': 0.027472527472527472, 'mean_word_length': 1.908183632734531, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '442640', 'n_tokens_mistral': 626, 'n_tokens_neox': 603, 'n_words': 134}