language: ruby
rvm:
  - 2.1.1
before_install:
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
  - "echo `phantomjs -v`"
branches:
  only:
    - master
notifications:
  email:
    on_success: change
    on_failure: change
before_script:
  - cp config/database.yml.example config/database.yml
  - cp config/config.yml.example config/config.yml
  - cp config/secrets.yml.example config/secrets.yml
  - RAILS_ENV=test bundle exec rake db:migrate --trace
script:
  - 'bundle exec rspec --color --format documentation'
  - 'bundle exec rubocop -Dc .rubocop.yml'
addons:
  artifacts: true
  s3_region: "us-east-1"

language: ruby
rvm:
  - 2.1.1
before_install:
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
  - "echo `phantomjs -v`"
branches:
  only:
    - master
notifications:
  email:
    on_success: change
    on_failure: change
  irc:
    channels:
      - "chat.freenode.net#osem"
    on_success: change
    on_failure: change
before_script:
  - cp config/database.yml.example config/database.yml
  - cp config/config.yml.example config/config.yml
  - cp config/secrets.yml.example config/secrets.yml
  - RAILS_ENV=test bundle exec rake db:migrate --trace
script:
  - 'bundle exec rspec --color --format documentation'
  - 'bundle exec rubocop -Dc .rubocop.yml'

Enable IRC notification, disable addons
Travis: Enable IRC notification, disable addons
