Install firefox on travis. Only run cucumber to save time while experimenting.
This commit is contained in:
parent
392db905cb
commit
14324aecc2
2 changed files with 5 additions and 2 deletions
|
|
@ -3,14 +3,17 @@ rvm:
|
|||
- ree
|
||||
|
||||
before_script:
|
||||
- "sudo aptitude -y install firefox"
|
||||
- "sudo cp config/ci/xvfb /etc/init.d/xvfb"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- "sass --update public/stylesheets/sass/:public/stylesheets/"
|
||||
- "cp config/database.yml.example config/database.yml"
|
||||
- "rake db:create"
|
||||
- "rake db:schema:load"
|
||||
- "rspec spec --tag fixture"
|
||||
|
||||
script: "bundle exec rake travis"
|
||||
|
||||
env: "TRAVIS=true"
|
||||
|
||||
notifications:
|
||||
disable: true
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace :cruise do
|
|||
end
|
||||
|
||||
task :travis do
|
||||
system('export DISPLAY=:99.0 && CI=true bundle exec rake')
|
||||
system('export DISPLAY=:99.0 && CI=true bundle exec cucumber')
|
||||
raise "tests failed!" unless $?.exitstatus == 0
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue