<commit_before>language: cpp
compiler:
  - gcc
  - clang
install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
env:
  - CONFIG=debug QT=qt5
  - CONFIG=release QT=qt5
before_script:
  - git submodule update --init --recursive
script:
  - qmake -r QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_CXXFLAGS+="-std=c++11"
  - make
  - ./test/garnet_test
<commit_msg>Fix .travis.yml to install Qt5<commit_after>language: cpp
compiler:
  - gcc
  - clang
install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
env:
  - CONFIG=debug QT=qt5
  - CONFIG=release QT=qt5
before_script:
  - git submodule update --init --recursive
script:
  - qmake -r QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_CXXFLAGS+="-std=c++11"
  - make
  - ./test/garnet_test

{'fraction_non_alphanumeric': 0.17362270450751252, 'fraction_numerical': 0.02003338898163606, 'mean_word_length': 3.037037037037037, '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': '6106386', 'n_tokens_mistral': 535, 'n_tokens_neox': 491, 'n_words': 117}