<commit_before>language: node_js
node_js:
  - "4.0"
before_script:
  - npm install -g bower
  - bower install
  - npm install --dev
script:
  - echo 'Start Travis CI Integration Test'
  - node app.js &
  - sleep 5
  - node_modules/karma/bin/karma start karma.conf.js --single-run
after_success:
  - echo 'Travis CI Integration Test Success!'<commit_msg>make Travis test api with jasmine-node<commit_after>language: node_js
node_js:
  - "4.0"
before_script:
  - npm install -g bower
  - bower install
  - npm install --dev
script:
  - echo 'Start Travis CI Integration Test'
  - node app.js &
  - sleep 5
  - node_modules/karma/bin/karma start karma.conf.js --single-run
  - jasmine-node ./test/api
after_success:
  - echo 'Travis CI Integration Test Success!'
{'fraction_non_alphanumeric': 0.1080368906455863, 'fraction_numerical': 0.007905138339920948, 'mean_word_length': 3.064171122994652, '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': '852273', 'n_tokens_mistral': 283, 'n_tokens_neox': 265, 'n_words': 78}