<commit_before>language: ruby
rvm:
  - 2.3.0
cache: bundler
sudo: false
cache:
  directories:
    - vendor/bundle
    - angular/node_modules

env:
  - DB=postgresql CXX=g++-4.8

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

install:
  - nvm install 4.2.6
  - nvm use 4.2.6
  - bundle install --without development --deployment --jobs=3 --retry=3
  - cd angular
  - npm install
  - cd ..

branches:
  only:
    - 'master'
    - 'user-testing'
    - 'production'
    - /^[0-9]+\.[0-9]+$/

before_script:
  - cp config/database.yml.$DB config/database.yml
  - bundle exec rake db:setup RAILS_ENV=test
  - bundle exec rails server RAILS_ENV=test > /dev/null &
<commit_msg>set server ENV to test<commit_after>language: ruby
rvm:
  - 2.3.0
cache: bundler
sudo: false
cache:
  directories:
    - vendor/bundle
    - angular/node_modules

env:
  - DB=postgresql CXX=g++-4.8

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

install:
  - nvm install 4.2.6
  - nvm use 4.2.6
  - bundle install --without development --deployment --jobs=3 --retry=3
  - cd angular
  - npm install
  - cd ..

branches:
  only:
    - 'master'
    - 'user-testing'
    - 'production'
    - /^[0-9]+\.[0-9]+$/

before_script:
  - cp config/database.yml.$DB config/database.yml
  - bundle exec rake db:setup RAILS_ENV=test
  - RAILS_ENV=test bundle exec rails server > /dev/null &

{'fraction_non_alphanumeric': 0.14540270848182466, 'fraction_numerical': 0.02851033499643621, 'mean_word_length': 2.432762836185819, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '442622', 'n_tokens_mistral': 580, 'n_tokens_neox': 555, 'n_words': 128}