<commit_before># Use the same image we use to build/run locally to test branches & PRs
sudo: required

language: generic

services:
  - docker

env:
  global:
  - DOCKER_COMPOSE_VERSION: 1.14.0
  - ENCRYPTION_LABEL: 752dfc0eab06

before_install:
  - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" != "master" ]; then
      bash <(curl -s https://raw.githubusercontent.com/gameontext/gameon/master/images/updateTravisDocker.sh);
      docker-compose pull;
    fi'

script:
  - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" != "master" ]; then
      mkdir -p _site
      docker-compose run -e PAGES_REPO_NWO site jekyll b --verbose;
      docker-compose run site htmlproofer --assume-extension ./_site;
    fi'
  - 'if [ "$TRAVIS_EVENT_TYPE" == "cron" ] || [ "$TRAVIS_BRANCH" != "test_date" ]; then
      ./today.sh
    fi'<commit_msg>Fix script<commit_after># Use the same image we use to build/run locally to test branches & PRs
sudo: required

language: generic

services:
  - docker

env:
  global:
  - DOCKER_COMPOSE_VERSION: 1.14.0
  - ENCRYPTION_LABEL: 752dfc0eab06

before_install:
  - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" != "master" ]; then
      bash <(curl -s https://raw.githubusercontent.com/gameontext/gameon/master/images/updateTravisDocker.sh);
      docker-compose pull;
    fi'

script:
  - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" != "master" ]; then
      mkdir -p _site
      docker-compose run -e PAGES_REPO_NWO site jekyll b --verbose;
      docker-compose run site htmlproofer --assume-extension ./_site;
    fi'
  - 'if [ "$TRAVIS_EVENT_TYPE" == "cron" ]; then
      ./today.sh;
    fi'
{'fraction_non_alphanumeric': 0.14277286135693215, 'fraction_numerical': 0.011799410029498525, 'mean_word_length': 3.24, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6380304', 'n_tokens_mistral': 675, 'n_tokens_neox': 640, 'n_words': 144}