<commit_before>language: cpp

os:
  - linux
#  - osx

env:
  - CONFIG=Release
  - CONFIG=Debug

before_install:
  -    sudo apt-get install libc6-i386
    && wget http://www.cmake.org/files/v3.0/cmake-3.0.0-Linux-i386.sh
    && sudo sh cmake-3.0.0-Linux-i386.sh --skip-license --prefix=/usr
  -    sudo apt-add-repository -y ppa:beineri/opt-qt53
    && sudo apt-get -qq update
    && sudo apt-get -qq install cmake
    && sudo apt-get -qq install qt53tools qt53svg qt53webkit
  -    PROCS=`cat /proc/cpuinfo | grep processor | wc -l`
    && export JOBS=`echo "$PROCS-$PROCS/2" | bc`

script:
  -    cd build
    && cmake -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=/opt/qt53/lib/cmake -DENABLE_TESTS=True ..
    && echo ">>> Nb of jobs = $JOBS"
    && make -j $JOBS
    && cd tests
    && ./runtests -platform offscreen

notifications:
  email:
    on_success: change
    on_failure: always
    recipients:<commit_msg>Some work on using the CMake binaries (in Travis-CI) rather than recompiling them ourselves (#367).<commit_after>language: cpp

os:
  - linux
#  - osx

env:
  - CONFIG=Release
  - CONFIG=Debug

before_install:
  -    sudo apt-get install libc6-i386
    && wget http://www.cmake.org/files/v3.0/cmake-3.0.0-Linux-i386.sh
    && sudo sh cmake-3.0.0-Linux-i386.sh --skip-license --prefix=/usr
  -    sudo apt-add-repository -y ppa:beineri/opt-qt53
    && sudo apt-get -qq update
    && sudo apt-get -qq install cmake
    && sudo apt-get -qq install qt53tools qt53svg qt53webkit

script:
  -    cd build
    && cmake -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=/opt/qt53/lib/cmake -DENABLE_TESTS=True ..
    && PROCS=`cat /proc/cpuinfo | grep processor | wc -l`
    && export JOBS=`echo "$PROCS-$PROCS/2" | bc`
    && echo ">>> Nb of jobs = $JOBS"
    && make -j $JOBS
    && cd tests
    && ./runtests -platform offscreen

notifications:
  email:
    on_success: change
    on_failure: always
    recipients:
{'fraction_non_alphanumeric': 0.1400414937759336, 'fraction_numerical': 0.03163900414937759, 'mean_word_length': 2.6465028355387523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7073817', 'n_tokens_mistral': 796, 'n_tokens_neox': 730, 'n_words': 167}