<commit_before>language: node_js
node_js:
  - "stable"
  - "6"
  - "4"

env:
  global:
    - GIT_NAME: Travis CI
    - GIT_EMAIL: <EMAIL>
    - GITHUB_REPO: Kikobeats/osom
    - GIT_SOURCE: _docpress

after_success: npm run coveralls
after_script:
  - |
      declare exitCode;

      # -- [1] -------------------------------------------------------

      $(npm bin)/travis-after-all
      exitCode=$?

      # -- [2] -------------------------------------------------------

      if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" -a $exitCode -eq 0 ]; then
        npm install docpress git-update-ghpages
        ./node_modules/.bin/docpress build && ./node_modules/.bin/git-update-ghpages -e
      fi<commit_msg>Add custom domain<commit_after>language: node_js
node_js:
  - "stable"
  - "6"
  - "4"

env:
  global:
    - GIT_NAME: Travis CI
    - GIT_EMAIL: <EMAIL>
    - GITHUB_REPO: Kikobeats/osom
    - GIT_SOURCE: _docpress

after_success: npm run coveralls
after_script:
  - |
      declare exitCode;

      # -- [1] -------------------------------------------------------

      $(npm bin)/travis-after-all
      exitCode=$?

      # -- [2] -------------------------------------------------------

      if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" -a $exitCode -eq 0 ]; then
        npm install docpress git-update-ghpages
        ./node_modules/.bin/docpress build
        echo "osom.js.org" > _docpress/CNAME
        ./node_modules/.bin/git-update-ghpages -e
      fi
{'fraction_non_alphanumeric': 0.2614980289093298, 'fraction_numerical': 0.006570302233902759, 'mean_word_length': 1.4213036565977741, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '1585831', 'n_tokens_mistral': 522, 'n_tokens_neox': 503, 'n_words': 102}