<commit_before>sudo: false
dist: trusty
language: node_js
node_js: 8.0

cache:
  directories:
    - node_modules
    - bower_components

install:
  - npm install
  - polymer install

before_script:
  - gulp lint
  #- polymer lint --rules polymer-2 --input *.html
  - xvfb-run -s '-screen 0 1024x768x24' polymer test -l chrome
  # - xvfb-run -s '-screen 0 1024x768x24' polymer test -l firefox

script:
   - xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs
  #- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
  #    npm i gemini@^4.0.0 gemini-sauce gemini-polyserve;
  #    gemini test test/visual;
  #  fi
  # - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
  #     xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs-cron;
  #   fi

after_success:
  # - "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls"
<commit_msg>Temporary disable saucelabs, since travis is faster for just chrome<commit_after>sudo: false
dist: trusty
language: node_js
node_js: 8.0

cache:
  directories:
    - node_modules
    - bower_components

install:
  - npm install
  - polymer install

before_script:
  - gulp lint
  #- polymer lint --rules polymer-2 --input *.html
  - xvfb-run -s '-screen 0 1024x768x24' polymer test -l chrome
  # - xvfb-run -s '-screen 0 1024x768x24' polymer test -l firefox

script:
  #- xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs
  #- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
  #    npm i gemini@^4.0.0 gemini-sauce gemini-polyserve;
  #    gemini test test/visual;
  #  fi
  # - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
  #     xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs-cron;
  #   fi

after_success:
  # - "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls"

{'fraction_non_alphanumeric': 0.13129102844638948, 'fraction_numerical': 0.05032822757111598, 'mean_word_length': 3.0375275938189845, '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': '4455988', 'n_tokens_mistral': 801, 'n_tokens_neox': 712, 'n_words': 183}