<commit_before># Note : Qt 5.5 has been released, but it has been causing us more problems than
#       anything (see https://github.com/opencor/opencor/issues/710), so we are
#       now back to Qt 5.4.2. However, homebrew only provides Qt 5.5, hence we
#       can only build OpenCOR on OS X...

language: cpp

os:
  - linux
#  - osx

env:
  - CONFIG=Release
#  - CONFIG=Debug

install:
  # Note: we should be using ppa:beineri/opt-qt542 on Linux, but Qt's WebChannel
  #       library (/opt/qt54/lib/libQt5WebChannel.so.5.4.2) is missing, so we
  #       use ppa:beineri/opt-qt55 instead since it allows us both to build and
  #       test OpenCOR...
  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
         wget http://www.cmake.org/files/v3.3/cmake-3.3.0-Linux-i386.tar.gz
      && tar -xzf cmake-3.3.0-Linux-i386.tar.gz
      && sudo cp -fR cmake-3.3.0-Linux-i386/* /usr
      && sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
      && sudo apt-add-repository -y ppa:beineri/opt-qt542
      && sudo apt-get -qq update
      && sudo apt-get -qq install g++-4.8 libc6-i386 qt54location qt54multimedia qt54sensors qt54svg qt54tools qt54webkit
      && export CXX="g++-4.8"
      && export CC="gcc-4.8"
      ;
    else
         brew update
      && brew unlink cmake
      && brew install cmake
      && brew install qt5
      && chmod -R 755 /usr/local/opt/qt5/*
      ;
    fi

script:<commit_msg>Travis CI: trying to understand why the release version doesn't work on Linux.<commit_after># Note : Qt 5.5 has been released, but it has been causing us more problems than
#       anything (see https://github.com/opencor/opencor/issues/710), so we are
#       now back to Qt 5.4.2. However, homebrew only provides Qt 5.5, hence we
#       can only build OpenCOR on OS X...

language: cpp

os:
  - linux
#  - osx

env:
  - CONFIG=Release
#  - CONFIG=Debug

install:
  # Note: we should be using ppa:beineri/opt-qt542 on Linux, but Qt's WebChannel
  #       library (/opt/qt54/lib/libQt5WebChannel.so.5.4.2) is missing, so we
  #       use ppa:beineri/opt-qt55 instead since it allows us both to build and
  #       test OpenCOR...
  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
         wget http://www.cmake.org/files/v3.3/cmake-3.3.0-Linux-i386.tar.gz
      && tar -xzf cmake-3.3.0-Linux-i386.tar.gz
      && sudo cp -fR cmake-3.3.0-Linux-i386/* /usr
      && sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
      && sudo apt-add-repository -y ppa:beineri/opt-qt542
      && sudo apt-get -qq update
      && sudo apt-get -qq install g++-4.8 libc6-i386 qt54location qt54multimedia qt54sensors qt54svg qt54tools qt54webkit
      && export CXX="g++-4.8"
      && export CC="gcc-4.8"
      && ls -al /opt/qt54/lib
      ;
    else
         brew update
      && brew unlink cmake
      && brew install cmake
      && brew install qt5
      && chmod -R 755 /usr/local/opt/qt5/*
      ;
    fi

script:
{'fraction_non_alphanumeric': 0.12804668726398902, 'fraction_numerical': 0.04943357363542739, 'mean_word_length': 2.2595078299776286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5161252', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1067, 'n_words': 296}