language: ruby
rvm:
  - 2.2.0
sudo: false
env:
  global:
    SPEC_OPTS=--color
bundler_args: --deployment --without development
cache: bundler
before_install:
  - gem install bundler
  - bundle --version
before_script:
  - cp config/database.ci.yml config/database.yml
  - cp .env.example .env
  - psql -c 'create database orientation_test;' -U postgres
  - bundle exec rake db:migrate
script:
  - bundle exec rspec spec/
branches:
  only:
    - master
notifications:
  email: false
addons:
  code_climate:
    repo_token: 75408d377a0b3c1ab512bf3fb634617bccf2a1065f8c513e352139427ec8e1fb

language: ruby
rvm:
  - 2.2.0
sudo: false
env:
  global:
    SPEC_OPTS=--color
bundler_args: --deployment --without development
cache: bundler
before_install:
  - gem install bundler
  - bundle --version
before_script:
  - cp config/database.ci.yml config/database.yml
  - cp .env.example .env
  - psql -c 'create database orientation_test;' -U postgres
  - npm install -g bower
  - bower install
  - bundle exec rake db:migrate
script:
  - bundle exec rspec spec/
branches:
  only:
    - master
notifications:
  email: false
addons:
  code_climate:
    repo_token: 75408d377a0b3c1ab512bf3fb634617bccf2a1065f8c513e352139427ec8e1fb

Add bower install to Travis before_script
Add bower install to Travis before_script
