Commit 14324aec authored by Sarah Mei's avatar Sarah Mei

Install firefox on travis. Only run cucumber to save time while experimenting.

parent 392db905
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment