<commit_before>language: node_js

node_js:
  - "node"
  - "5"
  - "4.4.3"
  - "4"
  - "0.12"
  - "0.10"

services:
    - couchdb

before_install:
    - travis_retry git clone git://github.com/cozy/cozy-data-system.git
    - cd cozy-data-system
    - travis_retry npm install #data-system
    - env NAME=data-system TOKEN=token forever start -o forever-ds.log build/server.js

before_script:
    - npm run-script start

script:
    - npm run-script lint
    - npm run-script test

after_success:
    - export BUILD_RESULT="SUCCESS"

after_failure:
    - export BUILD_RESULT="ERRORED"
    - cat cozy-data-system/forever-ds.log
    - cat cozy-data-system/log/test.log
<commit_msg>testing travis tests<commit_after>language: node_js

node_js:
  - "node"
  - "5"
  - "4.4.3"
  - "4"
  - "0.12"
  - "0.10"

services:
    - couchdb

before_install:
    - travis_retry npm install npm@latest-2 -g
    - travis_retry npm install forever coffee-script -g
    - travis_retry git clone git://github.com/cozy/cozy-data-system.git
    - cd cozy-data-system
    - travis_retry npm install #data-system
    - env NAME=data-system TOKEN=token forever start -o forever-ds.log build/server.js

before_script:
    - npm run-script start

script:
    - npm run-script lint
    - npm run-script test

after_success:
    - export BUILD_RESULT="SUCCESS"

after_failure:
    - export BUILD_RESULT="ERRORED"
    - cat cozy-data-system/forever-ds.log
    - cat cozy-data-system/log/test.log

{'fraction_non_alphanumeric': 0.12090163934426229, 'fraction_numerical': 0.015710382513661202, 'mean_word_length': 2.6083743842364533, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2696708', 'n_tokens_mistral': 572, 'n_tokens_neox': 550, 'n_words': 115}