<commit_before>language: cpp

# only run travis on the master branch
branches:
only:
 - master
 - coverity_scan

# define complier for build
compiler:
- gcc

env:
 global:
  # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
  #   via the "travis encrypt" command using the project repo's public key
  - secure: "<KEY>

#before_install:
# - echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
# - echo "yes" | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
# - sudo apt-get -qq update
# - sudo apt-get -qq install build-essential libtool gcc-4.8 g++-4.8 make cmake
# - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
# - sudo apt-get install -qq libbz2-dev libncurses5-dev libmysqlclient-dev libreadline-dev libsdl1.2-dev libssl-dev zlib1g-dev

# experimental config
before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
  - sudo apt-get -qq install zlib1g-dev libssl-dev libpcre3-dev libmysqlclient-dev gcc-4.8 g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90

addons:
 coverity_scan:
   project:
     name: "AscEmu/AscEmu"
     description: "3.3.5 World of Warcraft game server"
   notification_email: <EMAIL>
   build_command_prepend: "make clean"
   build_command:   "make -j 10"
   branch_pattern: coverity_scan

install:
 - mkdir bin
 - cd bin
 - cmake ../

script:
 - cd ..
 - cd bin
 - make -j 10<commit_msg>Auto-merge for Coverity Scan<commit_after>language: cpp

# only run travis on the master branch
branches:
only:
 - master
 - coverity_scan

# define complier for build
compiler:
- gcc

env:
 global:
  # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
  #   via the "travis encrypt" command using the project repo's public key
  - secure: "<KEY>

#before_install:
# - echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
# - echo "yes" | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
# - sudo apt-get -qq update
# - sudo apt-get -qq install build-essential libtool gcc-4.8 g++-4.8 make cmake
# - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
# - sudo apt-get install -qq libbz2-dev libncurses5-dev libmysqlclient-dev libreadline-dev libsdl1.2-dev libssl-dev zlib1g-dev

# experimental config
before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
  - sudo apt-get -qq install zlib1g-dev libssl-dev libpcre3-dev libmysqlclient-dev gcc-4.8 g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90

addons:
 coverity_scan:
   project:
     name: "AscEmu/AscEmu"
     description: "3.3.5 World of Warcraft game server"
   notification_email: <EMAIL>
   build_command_prepend: "make clean"
   build_command:   "make -j 10"
   branch_pattern: coverity_scan

install:
 - mkdir bin
 - cd bin
 - cmake ../

script:
 - cd ..
 - cd bin
 - gcc --version
 - g++ --version
 - cmake --version
 - make -j 10
{'fraction_non_alphanumeric': 0.1221273801707157, 'fraction_numerical': 0.021011162179908074, 'mean_word_length': 3.173972602739726, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7674292', 'n_tokens_mistral': 1170, 'n_tokens_neox': 1101, 'n_words': 313}