<commit_before>language: c

sudo: false

env:
  global:
   - secure: "<KEY>
   - CMAKE_PREFIX_PATH=$HOME/SDL2

cache:
  directories:
  - $HOME/SDL2

compiler:
  - gcc
  - clang

before_install:
  - export CC="gcc-5"

install:
  - if [ ! -d "$HOME/SDL2/lib" ]; then wget https://www.libsdl.org/release/SDL2-2.0.3.tar.gz -O ~/SDL2.tar.gz && tar -xzvf ~/SDL2.tar.gz -C ~/ && mkdir ~/sdl-build && cd ~/sdl-build && ~/SDL2-2.0.3/configure --prefix=$HOME/SDL2 && make && make install; else echo 'Using cached SDL2 build directory.'; fi

script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then cd $TRAVIS_BUILD_DIR && cmake -DCMAKE_BUILD_TYPE=Release -DUSE_TESTS=On . && make && make test; fi

notifications:
  email: false

addons:
  coverity_scan:
    project:
      name: "omf2097/openomf"
      version: 0.6.5
      description: "One Must Fall 2097 Remake"
    notification_email: <EMAIL>
    build_command_prepend: "cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TESTS=Off ."
    build_command: "make"
    branch_pattern: coverity_scan
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - libc6-dev
    - libcunit1
    - libcunit1-dev
    - libopenal-dev
    - libconfuse-dev
    - libpng-dev
    - libenet-dev
    - gcc-5
    - libasound2-dev
    - libpulse-dev
    - libx11-dev
    - libxext-dev
    - libxrandr-dev
    - libxi-dev
    - libxxf86vm-dev
    - libxss-dev
    - libudev-dev<commit_msg>.travis.yml: Remove gcc-5 for now.<commit_after>language: c

sudo: false

env:
  global:
   - secure: "<KEY>
   - CMAKE_PREFIX_PATH=$HOME/SDL2

cache:
  directories:
  - $HOME/SDL2

compiler:
  - gcc
  - clang

install:
  - if [ ! -d "$HOME/SDL2/lib" ]; then wget https://www.libsdl.org/release/SDL2-2.0.3.tar.gz -O ~/SDL2.tar.gz && tar -xzvf ~/SDL2.tar.gz -C ~/ && mkdir ~/sdl-build && cd ~/sdl-build && ~/SDL2-2.0.3/configure --prefix=$HOME/SDL2 && make && make install; else echo 'Using cached SDL2 build directory.'; fi

script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then cd $TRAVIS_BUILD_DIR && cmake -DCMAKE_BUILD_TYPE=Release -DUSE_TESTS=On . && make && make test; fi

notifications:
  email: false

addons:
  coverity_scan:
    project:
      name: "omf2097/openomf"
      version: 0.6.5
      description: "One Must Fall 20<NAME>"
    notification_email: <EMAIL>
    build_command_prepend: "cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TESTS=Off ."
    build_command: "make"
    branch_pattern: coverity_scan
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - libc6-dev
    - libcunit1
    - libcunit1-dev
    - libopenal-dev
    - libconfuse-dev
    - libpng-dev
    - libenet-dev
    - libasound2-dev
    - libpulse-dev
    - libx11-dev
    - libxext-dev
    - libxrandr-dev
    - libxi-dev
    - libxxf86vm-dev
    - libxss-dev
    - libudev-dev
{'fraction_non_alphanumeric': 0.14038253338145074, 'fraction_numerical': 0.025622518946228797, 'mean_word_length': 2.5312101910828027, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '4754110', 'n_tokens_mistral': 1163, 'n_tokens_neox': 1096, 'n_words': 216}