Setup travis ci

This commit is contained in:
Andrew Tomaka 2016-01-11 15:01:49 -05:00
parent 03399ab51c
commit 2743e5e7cc
3 changed files with 12 additions and 0 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
language: ruby
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
- RACK_ENV=test bundle exec rake db:create
- RACK_ENV=test bundle exec rake db:migrate
script:
- RACK_ENV=test bundle exec rspec

View File

@ -23,4 +23,5 @@ group :development do
gem 'launchy'
gem 'pry'
gem 'rerun'
gem 'rake'
end

View File

@ -63,6 +63,7 @@ GEM
rack
rack-test (0.6.3)
rack (>= 1.0)
rake (10.4.2)
rb-fsevent (0.9.5)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
@ -128,6 +129,7 @@ DEPENDENCIES
factory_girl
launchy
pry
rake
rerun
rspec
sinatra