<commit_before>sudo: false

language: scala

scala:
  - 2.11.11
  - 2.12.2

jdk:
  - oraclejdk8

# These directories are cached to S3 at the end of the build
cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot/

script:
  - sbt -sbt-version 0.13.15 -scala-version $TRAVIS_SCALA_VERSION ';clean ;coverage ;testOnly -- xonly ;coverageReport'
  - find $HOME/.sbt -name "*.lock" | xargs rm
  - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

after_success:
- bash <(curl -s https://codecov.io/bash)<commit_msg>Add code coverage and use codecov from the command line<commit_after>sudo: false

language: scala

scala:
  - 2.11.11
  - 2.12.2

jdk:
  - oraclejdk8

install:
  - pip install --user codecov

# These directories are cached to S3 at the end of the build
cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot/

script:
  - sbt -sbt-version 0.13.15 -scala-version $TRAVIS_SCALA_VERSION ';clean ;coverage ;testOnly -- xonly ;coverageReport' && codecov
  - find $HOME/.sbt -name "*.lock" | xargs rm
  - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

{'fraction_non_alphanumeric': 0.13533151680290645, 'fraction_numerical': 0.0326975476839237, 'mean_word_length': 2.9078014184397163, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6830727', 'n_tokens_mistral': 456, 'n_tokens_neox': 425, 'n_words': 115}