summaryrefslogtreecommitdiff
path: root/lib/tasks/travis.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/travis.rake')
-rw-r--r--lib/tasks/travis.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/travis.rake b/lib/tasks/travis.rake
index f5c7ab9cae7..c0b63194a77 100644
--- a/lib/tasks/travis.rake
+++ b/lib/tasks/travis.rake
@@ -1,5 +1,5 @@
task :travis do
- ["rspec spec", "rake cucumber"].each do |cmd|
+ ["bundle exec rake cucumber", "bundle exec rspec spec"].each do |cmd|
puts "Starting to run #{cmd}..."
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0