I have no idea why travis ran the specs twice, but let's try again.
This commit is contained in:
parent
bc5d29bff3
commit
7f55279962
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,10 @@ namespace :cruise do
|
|||
end
|
||||
|
||||
task :travis do
|
||||
run_cruise
|
||||
["rspec spec", "rake cucumber", "jasmine:ci"].each do |cmd|
|
||||
system('bundle exec rspec spec')
|
||||
raise "#{cmd} failed!" unless $?.exitstatus == 0
|
||||
end
|
||||
end
|
||||
def run_cruise
|
||||
`sh -e /etc/init.d/xvfb start`
|
||||
|
|
|
|||
Loading…
Reference in a new issue