<commit_before>language: node_js
services:
  - docker
node_js:
  - 9.9.0
git:
  depth: 10
cache:
  directories:
    - node_modules
    - server/node_modules
env:
  global:
    - NODE_ENV=production ESLINT_BEFORE_BUILD=false
  matrix:
    - SCRIPT="lint"
    - SCRIPT="test"
    - SCRIPT="build"
install:
  - npm install
  - cd server && npm install --dev && cd ..
before_script:
  - export AUTHOR_NAME="$(git log -1 $TRAVIS_COMMIT --pretty="%aN")"
  - export BRANCH_OR_PR="$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo "PR-$TRAVIS_PULL_REQUEST"; fi)"
  - export SOURCE_URL="$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo "https://github.com/"$REPO_OWNER"/"$REPO_NAME"/commit/"$TRAVIS_COMMIT""; else echo "https://github.com/"$REPO_OWNER"/"$REPO_NAME"/pull/"$TRAVIS_PULL_REQUEST""; fi)"
script: (eval "./.travis/$SCRIPT.sh")
# TODO After getting the build right:
#deploy:
#  provider: script
#  script: ./.travis/deploy.sh
#  on:
#    all_branches: true<commit_msg>Update .travis.yml: Grant self permission to execute the script<commit_after>language: node_js
services:
  - docker
node_js:
  - 9.9.0
git:
  depth: 10
cache:
  directories:
    - node_modules
    - server/node_modules
env:
  global:
    - NODE_ENV=production ESLINT_BEFORE_BUILD=false
  matrix:
    - SCRIPT="lint"
    - SCRIPT="test"
    - SCRIPT="build"
install:
  - npm install
  - cd server && npm install --dev && cd ..
before_script:
  - export AUTHOR_NAME="$(git log -1 $TRAVIS_COMMIT --pretty="%aN")"
  - export BRANCH_OR_PR="$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo "PR-$TRAVIS_PULL_REQUEST"; fi)"
  - export SOURCE_URL="$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo "https://github.com/"$REPO_OWNER"/"$REPO_NAME"/commit/"$TRAVIS_COMMIT""; else echo "https://github.com/"$REPO_OWNER"/"$REPO_NAME"/pull/"$TRAVIS_PULL_REQUEST""; fi)"
script:
  - (eval "chmod +x .travis/$SCRIPT.sh")
  - (eval "./.travis/$SCRIPT.sh")
# TODO After getting the build right:
#deploy:
#  provider: script
#  script: ./.travis/deploy.sh
#  on:
#    all_branches: true
{'fraction_non_alphanumeric': 0.1691211401425178, 'fraction_numerical': 0.005700712589073635, 'mean_word_length': 3.8976744186046512, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '702154', 'n_tokens_mistral': 856, 'n_tokens_neox': 811, 'n_words': 163}