Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (18 sloc) 648 Bytes
before_script:
- "sh -e /etc/init.d/xvfb start"
- "if [[ `eval ruby -v` =~ 'jruby' ]]; then database_yml=spec/internal/config/database.yml.$db.jruby; else database_yml=spec/internal/config/database.yml.$db; fi;echo $database_yml;cp $database_yml config/database.yml;cp $database_yml spec/internal/config/database.yml;"
script:
- "bundle exec rake db:create db:migrate db:test:clone"
- "DISPLAY=:99.0 bundle exec rspec ./spec/"
- "DISPLAY=:99.0 bundle exec cucumber"
notifications:
email:
- josh@isotope11.com
- brandon@isotope11.com
- rclements@isotope11.com
rvm:
- 1.9.3
- ruby-2.0.0
env:
- db=mysql
- db=postgres