<commit_before>language: cpp

git:
  depth: 100

os:
  - linux
  - osx

cache:
  apt: true

env:
  - CONFIG=release
  - CONFIG=debug

before_install:
  - cd ${TRAVIS_BUILD_DIR} && git fetch --unshallow

install:
  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
         sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
      && sudo apt-add-repository -y ppa:beineri/opt-qt541
      && sudo apt-get -qq update
      && sudo apt-get -qq install g++-4.8 libc6-i386 qt54tools qt54base qt54declarative qt54serialport qt54svg qt54webkit qt54quickcontrols qt54xmlpatterns qt54x11extras qt54websockets qt54sensors qt54script qt54quick1 qt54multimedia qt54location qt54imageformats qt54graphicaleffects qt54connectivity espeak libespeak-dev libopenscenegraph-dev libsdl1.2-dev libudev-dev
      && export CXX="g++-4.8"
      && export CC="gcc-4.8"
      ;
    else
         brew update
      && brew install qt5
      && chmod -R 755 /usr/local/opt/qt5/*
      ;
    fi
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

before_script: /opt/qt54/bin/qmake CONFIG+=${CONFIG} -r qgroundcontrol.pro
script:
  - make -j4
#  - if [ "${CONFIG}" = "debug" ]; then ./debug/qgroundcontrol --unittest; fi

#deploy:
#  provider: releases
#  api-key:
#    secure: ""
#  file: "release/qgroundcontrol"
#  skip_cleanup: true
#  on:
#    tags: true
#    all_branches: true
<commit_msg>travis-ci add gitter integration<commit_after>language: cpp

git:
  depth: 100

os:
  - linux
  - osx

cache:
  apt: true

env:
  - CONFIG=release
  - CONFIG=debug

before_install:
  - cd ${TRAVIS_BUILD_DIR} && git fetch --unshallow

install:
  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
         sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
      && sudo apt-add-repository -y ppa:beineri/opt-qt541
      && sudo apt-get -qq update
      && sudo apt-get -qq install g++-4.8 libc6-i386 qt54tools qt54base qt54declarative qt54serialport qt54svg qt54webkit qt54quickcontrols qt54xmlpatterns qt54x11extras qt54websockets qt54sensors qt54script qt54quick1 qt54multimedia qt54location qt54imageformats qt54graphicaleffects qt54connectivity espeak libespeak-dev libopenscenegraph-dev libsdl1.2-dev libudev-dev
      && export CXX="g++-4.8"
      && export CC="gcc-4.8"
      ;
    else
         brew update
      && brew install qt5
      && chmod -R 755 /usr/local/opt/qt5/*
      ;
    fi
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

before_script: /opt/qt54/bin/qmake CONFIG+=${CONFIG} -r qgroundcontrol.pro
script:
  - make -j4
#  - if [ "${CONFIG}" = "debug" ]; then ./debug/qgroundcontrol --unittest; fi

#deploy:
#  provider: releases
#  api-key:
#    secure: ""
#  file: "release/qgroundcontrol"
#  skip_cleanup: true
#  on:
#    tags: true
#    all_branches: true

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/6<PASSWORD>715662
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: never     # options: [always|never|change] default: always


{'fraction_non_alphanumeric': 0.12142857142857143, 'fraction_numerical': 0.04642857142857143, 'mean_word_length': 3.086206896551724, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '164797', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1160, 'n_words': 257}