<commit_before>language: ruby
cache: bundler
sudo: false
rvm:
- 2.3.1
bundler_args: "-j4 --without development production --quiet"
notifications:
  notifications:
    webhooks:
      secure: <KEY>
  slack:
    secure: pEbxQLQakbPpZkU2p+FdHxSOw7BlXHrOMdJlh8g7fK2oGiOMrpU0wbRUHUxNWzxTnkqWmwq37cIFXPGLel3yWkDzDO0+EuBBFPyoiQ2THxC8/pdpIO3I6jAuH7Zqra4jIdfHWw0UkN4Z+Yqnc+Y90rf9SC7mRGucbcy5aCGEIkY=
before_script:
- cp config/database.yml.travis config/database.yml
- bundle exec rake db:create db:schema:load RAILS_ENV=test
script:
- bundle exec rake spec
- bundle exec rake jshint
deploy:
  provider: heroku
  api_key:
    secure: <KEY>
  app:
    master:
      - rgsoc-teams-production
      - rgsoc-teams-staging
  run:
  - rake db:migrate
  - restart
  on:
    repo: rails-girls-summer-of-code/rgsoc-teams
addons:
  postgresql: '9.3'
after_success:
- bundle exec codeclimate-test-reporter<commit_msg>Revert "Let's see if Travis CI can deploy to two Heroku apps"<commit_after>language: ruby
cache: bundler
sudo: false
rvm:
- 2.3.1
bundler_args: "-j4 --without development production --quiet"
notifications:
  notifications:
    webhooks:
      secure: <KEY>
  slack:
    secure: pEbxQLQakbPpZkU2p+FdHxSOw7BlXHrOMdJlh8g7fK2oGiOMrpU0wbRUHUxNWzxTnkqWmwq37cIFXPGLel3yWkDzDO0+EuBBFPyoiQ2THxC8/pdpIO3I6jAuH7Zqra4jIdfHWw0UkN4Z+Yqnc+Y90rf9SC7mRGucbcy5aCGEIkY=
before_script:
- cp config/database.yml.travis config/database.yml
- bundle exec rake db:create db:schema:load RAILS_ENV=test
script:
- bundle exec rake spec
- bundle exec rake jshint
deploy:
  provider: heroku
  api_key:
    secure: <KEY>
  app:
    master: rgsoc-teams-production
    application-process-2016: rgsoc-teams-staging
  run:
  - rake db:migrate
  - restart
  on:
    repo: rails-girls-summer-of-code/rgsoc-teams
addons:
  postgresql: '9.3'
after_success:
- bundle exec codeclimate-test-reporter
{'fraction_non_alphanumeric': 0.09051724137931035, 'fraction_numerical': 0.0334051724137931, 'mean_word_length': 4.477876106194691, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '557179', 'n_tokens_mistral': 858, 'n_tokens_neox': 813, 'n_words': 141}