Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
Adds configuration for Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaskorhonen committed Jul 14, 2012
1 parent 4c770ec commit bdebe0d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: ruby
rvm:
- 1.9.3

# Ensure Bundler >= 1.1
before_install:
- gem install bundler

before_script:
- "cp config/database.example.yml config/database.yml"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"

script: "RAILS_ENV=test bundle exec rake db:migrate spec"

notifications:
email: false

branches:
only:
- master

0 comments on commit bdebe0d

Please sign in to comment.