<commit_before>language: ruby
rvm:
  - ruby-2.2.3

sudo: required

services:
  - postgres

branches:
  only:
    - master

# For AWS deploy, install the AWS CLI, so we can push asset artifacts up to S3 when merging to master.
# before_install:
#   - pip install --user awscli
#   - export PATH=$PATH:$HOME/.local/bin

install:
 - bundle install --retry=3

script:
  - bundle exec rake db:create db:migrate DATABASE_URL=postgres://localhost/homeroom_test
  - bundle exec rspec spec
  - bundle exec teaspoon
  # For AWS deploy, add step here:
  # - aws/rails/build_from_travis.sh

env:
  global:
    # For AWS deploy, add in credentials for uploading to S3 and pushing to Docker Hub here:
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>

notifications:
  webhooks: http://project-monitor.codeforamerica.org/projects/somerville-teacher-tool/status<commit_msg>Specify Bundler version in an attempt to fix breaking Travis CI builds<commit_after>language: ruby
rvm:
  - ruby-2.2.3

sudo: required

services:
  - postgres

branches:
  only:
    - master

# For AWS deploy, install the AWS CLI, so we can push asset artifacts up to S3 when merging to master.
# before_install:
#   - pip install --user awscli
#   - export PATH=$PATH:$HOME/.local/bin

install:
 - bundle _1.10.6_ install --retry=3

script:
  - bundle exec rake db:create db:migrate DATABASE_URL=postgres://localhost/homeroom_test
  - bundle exec rspec spec
  - bundle exec teaspoon
  # For AWS deploy, add step here:
  # - aws/rails/build_from_travis.sh

env:
  global:
    # For AWS deploy, add in credentials for uploading to S3 and pushing to Docker Hub here:
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>
    - secure: <KEY>

notifications:
  webhooks: http://project-monitor.codeforamerica.org/projects/somerville-teacher-tool/status
{'fraction_non_alphanumeric': 0.10703363914373089, 'fraction_numerical': 0.00815494393476045, 'mean_word_length': 3.0641821946169774, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4277986', 'n_tokens_mistral': 684, 'n_tokens_neox': 666, 'n_words': 207}