Setup travis ci
This commit is contained in:
parent
03399ab51c
commit
2743e5e7cc
3 changed files with 12 additions and 0 deletions
9
.travis.yml
Normal file
9
.travis.yml
Normal 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
|
1
Gemfile
1
Gemfile
|
@ -23,4 +23,5 @@ group :development do
|
||||||
gem 'launchy'
|
gem 'launchy'
|
||||||
gem 'pry'
|
gem 'pry'
|
||||||
gem 'rerun'
|
gem 'rerun'
|
||||||
|
gem 'rake'
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,6 +63,7 @@ GEM
|
||||||
rack
|
rack
|
||||||
rack-test (0.6.3)
|
rack-test (0.6.3)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
|
rake (10.4.2)
|
||||||
rb-fsevent (0.9.5)
|
rb-fsevent (0.9.5)
|
||||||
rb-inotify (0.9.5)
|
rb-inotify (0.9.5)
|
||||||
ffi (>= 0.5.0)
|
ffi (>= 0.5.0)
|
||||||
|
@ -128,6 +129,7 @@ DEPENDENCIES
|
||||||
factory_girl
|
factory_girl
|
||||||
launchy
|
launchy
|
||||||
pry
|
pry
|
||||||
|
rake
|
||||||
rerun
|
rerun
|
||||||
rspec
|
rspec
|
||||||
sinatra
|
sinatra
|
||||||
|
|
Loading…
Reference in a new issue