<commit_before>sudo: required
dist: trusty

language: c
cache: ccache

matrix:
  include:
    - compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-4.9
            - lcov
      env:
        - CXX=g++-4.9 CC=gcc-4.9 MODE=Debug
    - compiler: clang
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - cmake
            - clang-3.6
      env:
        - CXX=clang++-3.6 CC=clang-3.6 MODE=Debug
    - compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-4.9
      env:
        - CXX=g++-4.9 CC=gcc-4.9 MODE=Release
    - compiler: clang
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - cmake
            - clang-3.6
            - valgrind
      env:
        - CXX=clang++-3.6 CC=clang-3.6 MODE=Release

install:
  # python deps
  - pip install --user pyyaml
  - pip install --user poster
  - pip install --user codecov
  # Installing lcov
  # - wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.13.orig.tar.gz
  # - tar xf lcov_1.13.orig.tar.gz
  # - (cd lcov-1.13/ && sudo make install && rm -Rf lcov-1.13/)

script:
  - set -e
  - (cd cmaki && git pull origin master)
  - ./cmaki/run.sh
  - export NOCACHE_LOCAL=TRUE
  - export NOCACHE_REMOTE=FALSE
  - (cd cmaki_generator && ./build github://$TRAVIS_REPO_SLUG -o --server=http://artifacts.myftp.biz:8080)
  - set +e

notifications:
  webhooks: http://artifacts.myftp.biz:3000/api/todos
  on_start: always   # default: never
  on_success: always # default: always
  on_failure: always # default: always
  on_error: always # default: always
  on_cancel: always # default: always

<commit_msg>Create .travis.yml<commit_after>sudo: required
dist: trusty

language: c
cache: ccache

matrix:
  include:
    - compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-4.9
            - lcov
      env:
        - CXX=g++-4.9 CC=gcc-4.9 MODE=Debug
    - compiler: clang
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - cmake
            - clang-3.6
      env:
        - CXX=clang++-3.6 CC=clang-3.6 MODE=Debug
    - compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-4.9
      env:
        - CXX=g++-4.9 CC=gcc-4.9 MODE=Release
    - compiler: clang
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - cmake
            - clang-3.6
            - valgrind
      env:
        - CXX=clang++-3.6 CC=clang-3.6 MODE=Release

install:
  # python deps
  - pip install --user pyyaml
  - pip install --user poster
  - pip install --user codecov
  # Installing lcov
  # - wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.13.orig.tar.gz
  # - tar xf lcov_1.13.orig.tar.gz
  # - (cd lcov-1.13/ && sudo make install && rm -Rf lcov-1.13/)

script:
  - set -e
  - (cd cmaki && git pull origin master)
  - ./cmaki/run.sh
  - export NOCACHE_LOCAL=TRUE
  - export NOCACHE_REMOTE=FALSE
  - (cd cmaki_generator && ./build github://$TRAVIS_REPO_SLUG -o --server=http://artifacts.myftp.biz:8080)
  - set +e

notifications:
  webhooks: http://artifacts.myftp.biz:3000/api/webhooks
  on_start: always   # default: never
  on_success: always # default: always
  on_failure: always # default: always
  on_error: always # default: always
  on_cancel: always # default: always

{'fraction_non_alphanumeric': 0.12237673830594184, 'fraction_numerical': 0.02427307206068268, 'mean_word_length': 1.5342729019859065, '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': '3973365', 'n_tokens_mistral': 1463, 'n_tokens_neox': 1409, 'n_words': 283}