<commit_before>language: cpp

sudo: required
dist: xenial
services:
  - xvfb

cache:
  bundler: true
  directories:
  - $HOME/ffmpeg

addons:
  apt:
    sources:
    - ubuntu-sdk-team
    - ubuntu-toolchain-r-test
    packages:
    - gcc-7
    - g++-7
    - qtbase5-dev
    - lcov
    - libboost-all-dev
    - libhdf5-dev
    - libqt5opengl5
    - libqt5opengl5-dev
    - yasm

compiler:
  - gcc

install:
  # Use gcc 7 and g++ 7.
  - export CC=$(which gcc-7)
  - export CXX=$(which g++-7)
  # Build and install third-party locally.
  - ./scripts/travis-build-and-install-ffmpeg.sh
  - bundle install

script:
  # Build libraries.
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=Debug -DSARA_BUILD_TESTS=ON -DSARA_BUILD_SAMPLES=ON -DSARA_BUILD_VIDEOIO=ON -DSARA_FFMPEG_DIR=$HOME/ffmpeg ..
  - make -j$(nproc)<commit_msg>MAINT: install ceres in travis CI.<commit_after>language: cpp

sudo: required
dist: xenial
services:
  - xvfb

cache:
  bundler: true
  directories:
  - $HOME/ffmpeg

addons:
  apt:
    sources:
    - ubuntu-sdk-team
    - ubuntu-toolchain-r-test
    packages:
    - gcc-7
    - g++-7
    - qtbase5-dev
    - lcov
    - libceres-dev
    - libboost-all-dev
    - libhdf5-dev
    - libqt5opengl5
    - libqt5opengl5-dev
    - yasm

compiler:
  - gcc

install:
  # Use gcc 7 and g++ 7.
  - export CC=$(which gcc-7)
  - export CXX=$(which g++-7)
  # Build and install third-party locally.
  - ./scripts/travis-build-and-install-ffmpeg.sh
  - bundle install

script:
  # Build libraries.
  - mkdir build
  - cd build
  - cmake -DCMAKE_BUILD_TYPE=Debug -DSARA_BUILD_TESTS=ON -DSARA_BUILD_SAMPLES=ON -DSARA_BUILD_VIDEOIO=ON -DSARA_FFMPEG_DIR=$HOME/ffmpeg ..
  - make -j$(nproc)
{'fraction_non_alphanumeric': 0.1223529411764706, 'fraction_numerical': 0.01411764705882353, 'mean_word_length': 2.4225352112676055, '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': '283281', 'n_tokens_mistral': 727, 'n_tokens_neox': 696, 'n_words': 137}