<commit_before>language: cpp

sudo: required

dist: trusty

compiler:
  - gcc
  - clang

branches:
  only:
    - master

env:
  global:
    - RENDERDOC_TRAVIS_BUILD=1 RENDERDOC_CI_BUILD=1
  matrix:
    - CODE_BUILD=1 LINUX_BUILD=1 DOCS_BUILD=0

# only build docs once on linux
matrix:
  include:
    - compiler: gcc
      env: CODE_BUILD=0 LINUX_BUILD=0 DOCS_BUILD=1

# install dependencies
install:
  - sudo apt-get update -qq
  - if [ $CODE_BUILD ]; then sudo apt-get install -y -qq libx11-dev mesa-common-dev libgl1-mesa-dev qt5-default libqt5x11extras5-dev libxcb-keysyms1-dev ; fi
  - if [ $DOCS_BUILD ]; then sudo apt-get install -y -qq python-sphinx python-sphinx-rtd-theme ; fi

script:
  - sh ./hash_version.sh
  - if [ $CODE_BUILD ]; then make ; fi
  - if [ $DOCS_BUILD ]; then cd docs/ && make html ; fi<commit_msg>Travis: Set matrix to fast_finish, fix bash if to actually check value<commit_after>language: cpp

sudo: required

dist: trusty

compiler:
  - gcc
  - clang

branches:
  only:
    - master

env:
  global:
    - RENDERDOC_TRAVIS_BUILD=1 RENDERDOC_CI_BUILD=1
  matrix:
    - CODE_BUILD=1 LINUX_BUILD=1 DOCS_BUILD=0

# only build docs once on linux
matrix:
  fast_finish: true
  include:
    - compiler: gcc
      env: CODE_BUILD=0 LINUX_BUILD=0 DOCS_BUILD=1

# install dependencies
install:
  - sudo apt-get update -qq
  - if [[ "$CODE_BUILD" == "1" ]]; then sudo apt-get install -y -qq libx11-dev mesa-common-dev libgl1-mesa-dev qt5-default libqt5x11extras5-dev libxcb-keysyms1-dev ; fi
  - if [[ "$DOCS_BUILD" == "1" ]]; then sudo apt-get install -y -qq python-sphinx python-sphinx-rtd-theme ; fi

script:
  - sh ./hash_version.sh
  - if [[ "$CODE_BUILD" == "1" ]]; then make ; fi
  - if [[ "$DOCS_BUILD" == "1" ]]; then cd docs/ && make html ; fi
{'fraction_non_alphanumeric': 0.11787930062041738, 'fraction_numerical': 0.02143260011280316, 'mean_word_length': 3.1839622641509435, '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': '7603437', 'n_tokens_mistral': 721, 'n_tokens_neox': 686, 'n_words': 182}