diff --git a/.travis.yml b/.travis.yml index e5fed42a2..60b855967 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/lib/tasks/cruise.rake b/lib/tasks/cruise.rake index d666ef4f0..73e5e8bdb 100644 --- a/lib/tasks/cruise.rake +++ b/lib/tasks/cruise.rake @@ -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