<commit_before>language: cpp

sudo: false

matrix:
  include:
    - os: linux
      sudo: required
      dist: trusty
      compiler: clang
    - os: linux
      sudo: required
      dist: trusty
      compiler: gcc
    - os: osx
      compiler: clang
    - os: osx
      compiler: gcc

git:
  depth: 5

addons:
  apt:
    packages:
    - mesa-common-dev
    - swig
    - libsdl2-dev
    - libsdl2-image-dev
    - libsdl2-ttf-dev
    - libfreetype6-dev
    - libxcursor-dev
    - libopenal-dev
    - libasound2-dev
    - zlib1g-dev
    - libboost-dev
    - libboost-regex-dev
    - libboost-system-dev
    - libboost-filesystem-dev
    - libboost-test-dev  
    - libtinyxml-dev

before_install:
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get -qq update && sudo apt-get install -y libgle3-dev liballegro5-dev libvorbis-dev libalut-dev cppcheck; fi
  - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install swig sdl2 sdl2_image sdl2_ttf allegro freetype openal-soft tinyxml; fi
  # install newer version of pylint, the one fetched with apt-get is broken
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo pip install pylint; fi

install:
    - git clone --quiet --depth 1 git://github.com/fifengine/fifechan.git
    # https://github.com/fifengine/fifechan/blob/master/INSTALL.md
    - mkdir build_fifechan; cd build_fifechan; cmake ../fifechan
    - make -j2
    - sudo make install
    - cd ..

script:
   - cd ..
   - mkdir build; cd build; cmake ../fifengine
   - ls -alh .
   - make -j2
   - sudo make install

after_script: 
   - cd /home/travis/build/fifengine/fifengine
   - cppcheck --verbose --enable=all --std=posix --std=c++11 --quiet -iengine/core/ext engine/core
   - pylint --rcfile=.pylintrc ./engine/python/

notifications:
  irc: "irc.freenode.org#fife"
  email: false<commit_msg>fix path to __init__.py<commit_after>language: cpp

sudo: false

matrix:
  include:
    - os: linux
      sudo: required
      dist: trusty
      compiler: clang
    - os: linux
      sudo: required
      dist: trusty
      compiler: gcc
    - os: osx
      compiler: clang
    - os: osx
      compiler: gcc

git:
  depth: 5

addons:
  apt:
    packages:
    - mesa-common-dev
    - swig
    - libsdl2-dev
    - libsdl2-image-dev
    - libsdl2-ttf-dev
    - libfreetype6-dev
    - libxcursor-dev
    - libopenal-dev
    - libasound2-dev
    - zlib1g-dev
    - libboost-dev
    - libboost-regex-dev
    - libboost-system-dev
    - libboost-filesystem-dev
    - libboost-test-dev  
    - libtinyxml-dev

before_install:
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get -qq update && sudo apt-get install -y libgle3-dev liballegro5-dev libvorbis-dev libalut-dev cppcheck; fi
  - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install swig sdl2 sdl2_image sdl2_ttf allegro freetype openal-soft tinyxml; fi
  # install newer version of pylint, the one fetched with apt-get is broken
  - if [ $TRAVIS_OS_NAME == linux ]; then sudo pip install pylint; fi

install:
    - git clone --quiet --depth 1 git://github.com/fifengine/fifechan.git
    # https://github.com/fifengine/fifechan/blob/master/INSTALL.md
    - mkdir build_fifechan; cd build_fifechan; cmake ../fifechan
    - make -j2
    - sudo make install
    - cd ..

script:
   - cd ..
   - mkdir build; cd build; cmake ../fifengine
   - ls -alh .
   - make -j2
   - sudo make install

after_script: 
   - cd /home/travis/build/fifengine/fifengine
   - cppcheck --verbose --enable=all --std=posix --std=c++11 --quiet -iengine/core/ext engine/core
   - pylint --rcfile=.pylintrc ./engine/python/fife/

notifications:
  irc: "irc.freenode.org#fife"
  email: false
{'fraction_non_alphanumeric': 0.11224209078404401, 'fraction_numerical': 0.009353507565337002, 'mean_word_length': 2.2697841726618706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2295348', 'n_tokens_mistral': 1392, 'n_tokens_neox': 1327, 'n_words': 328}