KatanaCode/blogit

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: ruby

rvm:
  - 2.2.0

addons:
  code_climate:
    repo_token: b96d4021e601491d9aae499b7658f1701f7af63de2ed3152d868f4df14b43fc2

env:
  - DB=sqlite
  - DB=mysql
  - DB=postgresql

gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_3.2.gemfile

matrix:
  allow_failures:

before_install:
  - gem update bundler
  - sudo apt-get update
  - sudo apt-get install libpython2.7 python-pygments

before_script:
  # - mysql -e 'create database blogit_app_test'
  # - psql -c 'create database blogit_app_test' -U postgres

script:
  - bundle exec rake db:create RAILS_ENV=test
  - bundle exec rake db:migrate RAILS_ENV=test
  - bundle exec rake spec