<commit_before>language: cpp

os:
    - linux
    - osx

compiler:
    - gcc
    - clang

# either whitelist or blacklist branches
# branches:
#     only:
#         - master
#     except:
#         - experimental

before_install:
    - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi

install:
    - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install wget git g++ cmake libqt4-dev libqt4-opengl-dev python-docutils; fi
    - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install git qt4; fi

before_script:
    # Build external tools
    - mkdir build_external
    - cd build_external
    - cmake ../thirdparty/external
    - make -j4
    - cd ..

script:
    # Build displaz
    - mkdir build
    - cd build
    - cmake ..
    - make -j4
    - cd ..<commit_msg>travis build with qt4 on linux (qt5 on os x)<commit_after>language: cpp

os:
    - linux
    - osx

compiler:
    - gcc
    - clang

# either whitelist or blacklist branches
# branches:
#     only:
#         - master
#     except:
#         - experimental

before_install:
    - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi

install:
    - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install git g++ cmake libqt4-dev libqt4-opengl-dev python-docutils; fi
    - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install git qt5; fi

before_script:
    # Build external tools
    - mkdir build_external
    - cd build_external
    - cmake ../thirdparty/external
    - make -j4
    - cd ..

script:
    # Build displaz
    - mkdir build
    - cd build
    - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cmake -DDISPLAZ_USE_QT4=1 ..; fi
    - if [ "$TRAVIS_OS_NAME" == "osx" ]; then cmake ..; fi
    - make -j4
    - cd ..
{'fraction_non_alphanumeric': 0.1243432574430823, 'fraction_numerical': 0.008172796263864565, 'mean_word_length': 2.122040072859745, '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': '1004748', 'n_tokens_mistral': 636, 'n_tokens_neox': 622, 'n_words': 170}