language: ruby
notifications:
  email: false
  webhooks: https://getchef.slack.com/services/hooks/travis?token=ECftsW2P2itUaz1MhfiU6cS4
rvm:
  - 2.0.0
before_script:
  - psql -c 'create database supermarket_test;' -U postgres
  - cp .env.example .env
  - bundle exec rake db:schema:load
bundler_args: --without development
script: bundle exec rspec && bundle exec rake spec:javascripts
env:
  global:
    secure: 3FQQOyNDbi98izCrHovUld+Laj+y7ENcMraVlpgge4q12PysndHWz5zU/VrSo/3ZInE3u36Mn2dH95nnM+kXa8rfpXtDh23YjinW4vkA1FTnnt/yppdksvY1K+K7QePIvGfmVU/Y7kq6C3k4R3kB99cN+luf5oVdby9kePFkQHc=

language: ruby
notifications:
  email: false
  webhooks: https://getchef.slack.com/services/hooks/travis?token=ECftsW2P2itUaz1MhfiU6cS4
rvm:
  - 2.0.0
before_script:
  - psql -c 'create database supermarket_test;' -U postgres
  - cp .env.example .env
  - bundle exec rake db:schema:load
bundler_args: --without development
script: bundle exec rspec && bundle exec rake spec:javascripts
services:
  - redis-server
env:
  global:
    secure: "rzoy57s+oxvw27HStU1VNHN7fS525ocQo11bmASbwG5Ax6I4X/dwWofQCoZPoGrXisMw5RQaa7e3bHJpATZsMJC67Sf6gbfSOIYY7tISXuCFh9q/19YPGltdwZkP3OgawEpufA8zcMHzD5nvWNXq4c4TKRdtX6mHQVIAOJ9u6qY="

Add redis and GitHub access token to Travis config
Add redis and GitHub access token to Travis config

Note: the GitHub access token is encrypted. B)
