<commit_before>sudo: required
language: node_js

env:
  - TEST="tests/end2end/A* tests/end2end/I* tests/end2end/L*"
  - TEST="tests/end2end/Mee*"
  - TEST="tests/end2end/Mi*"
  - TEST="tests/end2end/R* tests/end2end/S* tests/end2end/T*"
  - TEST="unit"

addons:
  artifacts:
    # This uploads all headless screenshots generated with:
    #   browser.saveScreenshot("my-testcase");
    # to our Amazon AWS S3 account.
    # After build run completed, you can view the snapshots here:
    # http://s3files.4minitz.com/4minitz/4minitz
    debug: true
    s3_region: "us-west-2" # defaults to "us-east-1"
    paths:
    - $(ls ./tests/snapshots/* | tr "\n" ":")

cache:
  directories:
    - node_modules
    - .meteor/local
    - /usr/local/bin
    - ~/.meteor
    - $(npm config get prefix)/bin/chimp

node_js:
  - "stable"

before_install:
  - mkdir ./tests/snapshots
  - ./get_meteor.sh
  - npm install -g chimp@0.36.1

script:
  - ./travis.sh "$TEST"<commit_msg>Deactivate cache for now<commit_after>sudo: required
language: node_js

env:
  - TEST="tests/end2end/A* tests/end2end/I* tests/end2end/L*"
  - TEST="tests/end2end/Mee*"
  - TEST="tests/end2end/Mi*"
  - TEST="tests/end2end/R* tests/end2end/S* tests/end2end/T*"
  - TEST="unit"

addons:
  artifacts:
    # This uploads all headless screenshots generated with:
    #   browser.saveScreenshot("my-testcase");
    # to our Amazon AWS S3 account.
    # After build run completed, you can view the snapshots here:
    # http://s3files.4minitz.com/4minitz/4minitz
    debug: true
    s3_region: "us-west-2" # defaults to "us-east-1"
    paths:
    - $(ls ./tests/snapshots/* | tr "\n" ":")

#cache:
#  directories:
#    - node_modules
#    - .meteor/local
#    - /usr/local/bin
#    - ~/.meteor
#    - $(npm config get prefix)/bin/chimp

node_js:
  - "stable"

before_install:
  - mkdir ./tests/snapshots
  - curl https://install.meteor.com | /bin/sh
  - npm install -g chimp@0.36.1

script:
  - ./travis.sh "$TEST"
{'fraction_non_alphanumeric': 0.15736040609137056, 'fraction_numerical': 0.02030456852791878, 'mean_word_length': 2.747148288973384, 'pattern_counts': {'":': 2, '<': 3, '<?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': '4954255', 'n_tokens_mistral': 785, 'n_tokens_neox': 766, 'n_words': 156}