<commit_before>language: node_js
node_js:
  - "0.10"

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm install -g typescript
  - npm install tsd@next -g
  - npm install -g gulp
  - npm install -g ionic
  - npm install -g bower
  - npm install -g protractor
  - npm install -g cucumber
  - npm run setup
  - npm run travis-server > /dev/null &
  - npm run update-webdriver
  - npm run cucumber-server > /dev/null &
  - sleep 3 # give server time to start

script:
  - gulp
  - echo "Running unit tests..."
  - ./node_modules/karma/bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox
  - echo "Running functional tests..."
  - protractor protractor.conf.js --browser=firefox
  - cucumber.js -f=pretty<commit_msg>reverted use of cucumber on travis<commit_after>language: node_js
node_js:
  - "0.10"

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm install -g typescript
  - npm install tsd@next -g
  - npm install -g gulp
  - npm install -g ionic
  - npm install -g bower
  - npm install -g protractor
  - npm run setup
  - npm run update-webdriver
  - npm run travis-server > /dev/null &
  - sleep 3 # give server time to start

script:
  - gulp
  - echo "Running unit tests..."
  - ./node_modules/karma/bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox
  - echo "Running functional tests..."
  - protractor protractor.conf.js --browser=firefox
{'fraction_non_alphanumeric': 0.12173913043478261, 'fraction_numerical': 0.009364548494983277, 'mean_word_length': 2.5450236966824646, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '1004329', 'n_tokens_mistral': 571, 'n_tokens_neox': 529, 'n_words': 158}