<commit_before>sudo: false
language: node_js
node_js:
- '4.1'
env:
- CXX=g++-4.8
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
before_script:
- npm install -g gulp
script: gulp test && gulp clean build
before_install:
- openssl aes-256-cbc -K $encrypted_8592b1f8cf3c_key -iv $encrypted_8592b1f8cf3c_iv
  -in client-secret.json.enc -out client-secret.json -d
after_success:
- test $TRAVIS_PULL_REQUEST == "true" && exit 0
- if [ ! -d ${HOME}/google-cloud-sdk ]; then
     curl https://sdk.cloud.google.com | bash;
  fi
- curl go_appengine_sdk_linux_amd64-1.9.33.zip > go_appengine_sdk_linux_amd64.zip
- unzip go_appengine_sdk_linux_amd64.zip
- gcloud auth activate-service-account --key-file client-secret.json
- go_appengine/appcfg.py update . --skip_sdk_update_check --oauth2_access_token=$(gcloud auth print-access-token) -A amp-by-example -V 1
<commit_msg>disable gcloud prompts<commit_after>sudo: false
language: node_js
node_js:
- '4.1'
env:
- CXX=g++-4.8
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
before_script:
- npm install -g gulp
script: gulp test && gulp clean build
before_install:
- openssl aes-256-cbc -K $encrypted_8592b1f8cf3c_key -iv $encrypted_8592b1f8cf3c_iv
  -in client-secret.json.enc -out client-secret.json -d
after_success:
- export CLOUDSDK_CORE_DISABLE_PROMPTS=1
- export CLOUDSDK_PYTHON_SITEPACKAGES=1
- test $TRAVIS_PULL_REQUEST == "true" && exit 0
- if [ ! -d ${HOME}/google-cloud-sdk ]; then
     curl https://sdk.cloud.google.com | bash;
  fi
- curl go_appengine_sdk_linux_amd64-1.9.33.zip > go_appengine_sdk_linux_amd64.zip
- unzip go_appengine_sdk_linux_amd64.zip
- gcloud auth activate-service-account --key-file client-secret.json
- go_appengine/appcfg.py update . --skip_sdk_update_check --oauth2_access_token=$(gcloud auth print-access-token) -A amp-by-example -V 1

{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.03919491525423729, 'mean_word_length': 3.9064935064935065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3973198', 'n_tokens_mistral': 787, 'n_tokens_neox': 747, 'n_words': 148}