<commit_before>language: node_js

env:
  global:
    - CXX=g++-4.8
    - AMQP_PORT=172.16.31.10

node_js:
  - "stable"
  - "4.4.5"

matrix:
  include:
    - node_js: "4.4.5"
      os: osx

script:
  - npm test

after_script:
  - "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"

before_deploy:
  - chmod 555 scripts/package.sh && scripts/package.sh

deploy:
  - provider: s3
    access_key_id:
      secure: "<KEY>
    secret_access_key:
      secure: "<KEY>
    bucket: ds-server-artifacts
    skip_cleanup: true
    acl: public_read
    local_dir: build
    upload-dir: $TRAVIS_REPO_SLUG
  - provider: releases
    skip_cleanup: true
    api_key:
      secure: "<KEY>
    file_glob: true
    file:
      - "build/*.tar.gz"
      - "build/*.zip"
    on:
      tags: true

plugins:
  apt:
    sources:
    - ubuntu-toolchain-r-test<commit_msg>Updating travis keys<commit_after>language: node_js

env:
  global:
    - CXX=g++-4.8
    - AMQP_PORT=172.16.31.10

node_js:
  - "stable"
  - "4.4.5"

matrix:
  include:
    - node_js: "4.4.5"
      os: osx

script:
  - npm test

after_script:
  - "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"

before_deploy:
  - chmod 555 scripts/package.sh && scripts/package.sh

deploy:
  - provider: s3
    access_key_id:
      secure: "<KEY>
    secret_access_key:
      secure: "<KEY>
    bucket: ds-server-artifacts
    skip_cleanup: true
    acl: public_read
    local_dir: build
    upload-dir: $TRAVIS_REPO_SLUG
  - provider: releases
    skip_cleanup: true
    api_key:
      secure: "<KEY>
    file_glob: true
    file:
      - "build/*.tar.gz"
      - "build/*.zip"
    on:
      tags: true

plugins:
  apt:
    sources:
    - ubuntu-toolchain-r-test
{'fraction_non_alphanumeric': 0.13126079447322972, 'fraction_numerical': 0.024179620034542316, 'mean_word_length': 2.273069679849341, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1004691', 'n_tokens_mistral': 719, 'n_tokens_neox': 688, 'n_words': 131}