<commit_before>sudo: false
language: node_js
node_js:
- '6'
cache:
  directories:
  - node_modules
addons:
  apt:
    packages:
      - xvfb
  jwt:
    secure: m2tGx8Pc2ZuukNqWxcDBZsuLT1xWYDz3ZJ1MG8+69EZwjjHT07SUPX8hoHt6Xa2tWGJiv0yHB5BdDlzFSYr104tNwPpUOaUPosDTSeL0M5gbsSX5+0orILeltCi7UJKIiJZ9kNAfq9bTIMdYb3mRm86nJp8lUd3Ok52u9digS98=
install:
  - export DISPLAY=':99.0'
  - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
branches:
  only:
  - 0.8
  - dev
script:
  - set -e; npm i; npm run build:ci; if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then chmod u+x ./scripts/release-ci.sh; ./scripts/release-ci.sh; fi; set +e
env:
  global:
  - GH_REF: github.com/ractivejs/ractive.git
  - CDN_REF: github.com/ractivejs/cdn.ractivejs.org.git
  - SAUCE_USERNAME: ractive<commit_msg>Update build script to separate pr and dev. Don't override install for xvfb.<commit_after>sudo: false
language: node_js
node_js:
- '6'
cache:
  directories:
  - node_modules
addons:
  apt:
    packages:
      - xvfb
  jwt:
    secure: m2tGx8Pc2ZuukNqWxcDBZsuLT1xWYDz3ZJ1MG8+69EZwjjHT07SUPX8hoHt6Xa2tWGJiv0yHB5BdDlzFSYr104tNwPpUOaUPosDTSeL0M5gbsSX5+0orILeltCi7UJKIiJZ9kNAfq9bTIMdYb3mRm86nJp8lUd3Ok52u9digS98=
before_script:
  - export DISPLAY=':99.0'
  - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
script: |
  set -e
  if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
    npm run build:ci:dev
    npm run release:ci
  else
    npm run build:ci:pr
  fi;
branches:
  only:
  - 0.8
  - dev
env:
  global:
  - GH_REF: github.com/ractivejs/ractive.git
  - CDN_REF: github.com/ractivejs/cdn.ractivejs.org.git
  - SAUCE_USERNAME: ractive
{'fraction_non_alphanumeric': 0.10703173615432483, 'fraction_numerical': 0.06969508400746734, 'mean_word_length': 3.978328173374613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5657387', 'n_tokens_mistral': 851, 'n_tokens_neox': 784, 'n_words': 124}