<commit_before>language: cpp
sudo: required
dist: trusty

addons: &addons
  apt:
    sources: &sources
      # add PPAs with more up-to-date toolchains
      - ubuntu-toolchain-r-test
      - llvm-toolchain-precise-3.6
      - llvm-toolchain-precise-3.7
      - llvm-toolchain-precise-3.8

before_install:
  - if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi

install:
  # Download conan
  - wget http://downloads.conan.io/latest_debian -O conan.deb
  - sudo dpkg -i conan.deb
  - rm conan.deb

  # Automatic detection of your arch, compiler, etc
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then conan install --options build_engine_tests=True --options build_engine_coverage=True -s build_type=Debug --build=missing; else conan install --options build_engine_tests=True --build=missing; fi


after_success:
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then echo Uploading coverage to codecov; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find tests -name "*.gc*" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find tests -name "*.o" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find . -name "*engine#tests*gcov" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find jsoncpp -name "*.gc*" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find jsoncpp -name "*.o" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find . -name "*engine#jsoncpp*gcov" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then bash <(curl -s https://codecov.io/bash); fi

script:
  - conan build
  - if [ "$RUN_TESTS" == "ON" ]; then ./bin/engine_tests; fi<commit_msg>That's how it works.<commit_after>language: cpp
sudo: required
dist: trusty

addons: &addons
  apt:
    sources: &sources
      # add PPAs with more up-to-date toolchains
      - ubuntu-toolchain-r-test
      - llvm-toolchain-precise-3.6
      - llvm-toolchain-precise-3.7
      - llvm-toolchain-precise-3.8

before_install:
  - if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi

install:
  # Download conan
  - wget http://downloads.conan.io/latest_debian -O conan.deb
  - sudo dpkg -i conan.deb
  - rm conan.deb

  # Automatic detection of your arch, compiler, etc
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then conan install --options build_engine_tests=True --options build_engine_coverage=True -s build_type=Debug --build=missing; else conan install --options build_engine_tests=True --build=missing; fi


after_success:
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then echo Uploading coverage to codecov; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find tests -name "*.gc*" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find tests -name "*.o" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find . -name "*engine#tests*gcov" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find jsoncpp -name "*.gc*" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find jsoncpp -name "*.o" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then find . -name "*jsoncpp*.gcov" -delete; fi
  - if [ "$GENERATE_COVERAGE" == "ON" ]; then bash <(curl -s https://codecov.io/bash); fi

script:
  - conan build
  - if [ "$RUN_TESTS" == "ON" ]; then ./bin/engine_tests; fi
{'fraction_non_alphanumeric': 0.16732824427480916, 'fraction_numerical': 0.00366412213740458, 'mean_word_length': 3.3333333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3978668', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1188, 'n_words': 316}