<commit_before>language: node_js

node_js:
  - "stable"
  - "4"
  - "iojs"
  - "0.12"
  - "0.10"

notifications:
  irc:
    use_notice: true
    on_success: change
    on_failure: change
    channels:
      - "chat.freenode.net#graphql"
  slack:
    secure: <KEY>

before_install:
  - npm config set spin false --global

script:
  - npm run lint && npm run check && (if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run cover:lcov; else npm run testonly; fi)

after_failure:
  - (cd resources; python travis_after_all.py)

after_success:
  - (cd resources; python travis_after_all.py)
  - export $(cat resources/.to_export_back)
  - if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi

deploy:
  - provider: script
    skip_cleanup: true
    script: ./resources/npm-git.sh
    on:
      branch: master
      condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded"
  - provider: npm
    email: "<EMAIL>"
    api_key:
      secure: <KEY>
    on:
      tags: true
      branch: master
      condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded"

global:
  env:
    secure: "BgPEp94wGA6yjk7qRsvYHTl+U2NMNzBqB5O5auqCpRH/lMRg+WmR8/XAzUoYMH1VBcsw6JIktcRmdIBi66qpQ4ik6FYlPKe/LfBNuEfsc9NKvZWrA+ku244WfFikU9bcN2+iKFAxKeL4S4R+t6HzZ5+az1QKZj++JKKuLI+5gIUEzHWE6ei6har+ddHYnoiLktIq4x6LOoz8cjaFfMFWLrwkJH5hEbcOPMMQ2FtlSyOGpfRAhxgjqfH+Er77R459cDeIrB/HKhgctY+rKhO5qSYXoROOJaJ+qhPfoKkJY0C7RqJdr1Wg9Qj2r+aXlZI10WCFgodA6LTcYK/Tl7nqJODO4XEpFy0u9fpYjvMXlD004XwpnW4Ld44o0rNEXZdzOYWCtlueWNC6Ux65OE1rNKxs6qXYkRp/W8rD7D7UOL5oNWHoYgzMg8T28Bz/hdwK7jEVBQA3/HX2oVM2yo89kok/THHUSyByb5jj5n1osFitLdjv7rwKMIbf5U1G1D3fWJ8fLt0dSXBnQyYXUKShYS4e1chyAtTnlDB1gI/jSaQIhBLigknXs0visuBYejgD88ekBNUFxlD3q1Ql370890i5798aBMMDq7oSXBXI79pmBnfoux3LeM07N8q0xhFZYwOE1wcCV/GRPkcdt5DsUWa/x2YEtPntECVoAd7b6Zw="<commit_msg>fix encrypted key<commit_after>language: node_js

node_js:
  - "stable"
  - "4"
  - "iojs"
  - "0.12"
  - "0.10"

notifications:
  irc:
    use_notice: true
    on_success: change
    on_failure: change
    channels:
      - "chat.freenode.net#graphql"
  slack:
    secure: <KEY>

before_install:
  - npm config set spin false --global

script:
  - npm run lint && npm run check && (if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run cover:lcov; else npm run testonly; fi)

after_failure:
  - (cd resources; python travis_after_all.py)

after_success:
  - (cd resources; python travis_after_all.py)
  - export $(cat resources/.to_export_back)
  - if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi

deploy:
  - provider: script
    skip_cleanup: true
    script: ./resources/npm-git.sh
    on:
      branch: master
      condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded"
  - provider: npm
    email: "<EMAIL>"
    api_key:
      secure: <KEY>
    on:
      tags: true
      branch: master
      condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded"

env:
  global:
    secure: <KEY>
{'fraction_non_alphanumeric': 0.10783349721402818, 'fraction_numerical': 0.04424778761061947, 'mean_word_length': 4.044628099173554, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '5641118', 'n_tokens_mistral': 1462, 'n_tokens_neox': 1378, 'n_words': 201}