<commit_before>language: ruby
rvm:
- 2.2.4
env:
  global:
  - DB=mysql
  - TRAVIS_LAUNCHES_SAUCE_CONNECT=true # Tell the karma file that it does not need to launch Sauce connect
  - RAILS_ENV=development
  - secure: <KEY>UCE_USERNAME=smcgregor(smcgregor/privly-jetpack)
  - secure: <KEY>LMu6lqftm0+fa8VOEa4iY=#SAUCE_ACCESS_KEY=*****(smcgregor/privly-jetpack)
  - secure: "<KEY>="#SAUCE_URL="http://smcgregor:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(smcgregor/privly-jetpack)
  - secure: OWGod/q7wxT0latxSfKHBbST2MK/<KEY>X+Q<KEY>9PLLvtMCc8Q6vtZlcXHriv8fuCuAwrL9sqSpSncQRVdqU/vqnKb8/JRa+bY6DjjiwnqESsKmThEXEGei7jEsKpbUEdluJetmNRdo9XcVryi6J/6IH7Zxl+U=#SAUCE_USERNAME=privly(privly/privly-jetpack)
  - secure: CsXQukttuNXLHElDgdoqtW+MFkfspLgRUXB0SgH7nI/QgktYY1sl4VXbKHQ3WOEYh7Yc8OOOk2dkg3v9Rs9N0/000X2zKgr6FAmFtH0jNUmfoqbeVPhtw6AQbCK5gtditHtngZolIhVypZhzpwZ1feuoRCsdaLnTL80eQoZvxsE=#SAUCE_ACCESS_KEY=*****(privly/privly-jetpack)
  - secure: "<KEY>="#SAUCE_URL="http://privly:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(privly/privly-jetpack)
before_install:
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
  - git submodule update --init --recursive
  - git clone https://github.com/privly/privly-web.git # clone the webserver
before_script:
  - npm install jpm -g
  - cd ..
  - wget "http://ftp.mozilla.org/pub/firefox/releases/39.0/linux-x86_64/en-US/firefox-39.0.tar.bz2" -O firefox.tar.bz2
  - tar -xjf firefox.tar.bz2 firefox
  - cd $TRAVIS_BUILD_DIR
  - cd privly-web
  - cp config/database.travis.yml config/database.yml
  - mysql -e 'create database privly_test'
  - bundle install #Installs the required gems
  - rake db:create #Creates the Database
  - rake db:schema:load #Loads the Scheme
  - rake db:seed #Seeds the DB
  - "bundle exec rails server -p 3000 &"
  - cd ../chrome/content/privly-applications
  - sudo pip install -r requirements.txt
  - python build.py --platform firefox
  - cd test/selenium
script:<commit_msg>re-added node install to .travis.yml<commit_after>language: ruby
rvm:
- 2.2.4
env:
  global:
  - DB=mysql
  - TRAVIS_LAUNCHES_SAUCE_CONNECT=true # Tell the karma file that it does not need to launch Sauce connect
  - RAILS_ENV=development
  - secure: <KEY>=#SAUCE_USERNAME=smcgregor(smcgregor/privly-jetpack)
  - secure: <KEY>=#SAUCE_ACCESS_KEY=*****(smcgregor/privly-jetpack)
  - secure: "<KEY>="#SAUCE_URL="http://smcgregor:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(smcgregor/privly-jetpack)
  - secure: <KEY>=#SAUCE_USERNAME=privly(privly/privly-jetpack)
  - secure: <KEY>SAUCE_ACCESS_KEY=*****(privly/privly-jetpack)
  - secure: "<KEY>="#SAUCE_URL="http://privly:********-****-****-****-************@ondemand.saucelabs.com:80/wd/hub"(privly/privly-jetpack)
before_install:
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
  - git submodule update --init --recursive
  - git clone https://github.com/privly/privly-web.git # clone the webserver
before_script:
  - npm install jpm -g
  - cd ..
  - wget "http://ftp.mozilla.org/pub/firefox/releases/39.0/linux-x86_64/en-US/firefox-39.0.tar.bz2" -O firefox.tar.bz2
  - tar -xjf firefox.tar.bz2 firefox
  - cd $TRAVIS_BUILD_DIR
  - cd node/
  - npm install
  - cd ..
  - cd privly-web
  - cp config/database.travis.yml config/database.yml
  - mysql -e 'create database privly_test'
  - bundle install #Installs the required gems
  - rake db:create #Creates the Database
  - rake db:schema:load #Loads the Scheme
  - rake db:seed #Seeds the DB
  - "bundle exec rails server -p 3000 &"
  - cd ../chrome/content/privly-applications
  - sudo pip install -r requirements.txt
  - python build.py --platform firefox
  - cd test/selenium
script:
{'fraction_non_alphanumeric': 0.16832421680755844, 'fraction_numerical': 0.0313276976628543, 'mean_word_length': 4.0540201005025125, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '7073531', 'n_tokens_mistral': 1775, 'n_tokens_neox': 1659, 'n_words': 270}