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

scala:
- 2.10.6
- 2.11.8
- 2.12.1

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

script:
- ./e2e.sh
- cd examples && sbt test && cd ..
- sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION test
- sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION universal:packageBin

- ./test_generated_code_checked_in.sh
<commit_msg>Exclude e2e for Scala 2.10.x<commit_after>language: scala
sudo: required
dist: trusty

scala:
- 2.10.6
- 2.11.8
- 2.12.1

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

script:
- if [[ $TRAVIS_SCALA_VERSION != 2.10.* ]]; then ./e2e.sh; fi
- cd examples && sbt test && cd ..
- sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION test
- sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION universal:packageBin

- ./test_generated_code_checked_in.sh

{'fraction_non_alphanumeric': 0.14042553191489363, 'fraction_numerical': 0.05638297872340425, 'mean_word_length': 3.2968036529680367, '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': '1239838', 'n_tokens_mistral': 429, 'n_tokens_neox': 398, 'n_words': 93}