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.rake12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/tasks/travis.rake b/lib/tasks/travis.rake
index e04bfbaf1c0..6b434830803 100644
--- a/lib/tasks/travis.rake
+++ b/lib/tasks/travis.rake
@@ -1,7 +1,5 @@
-task :travis do
- ["rake spinach", "rake spec"].each do |cmd|
- puts "Starting to run #{cmd}..."
- system("export DISPLAY=:99.0 && bundle exec #{cmd}")
- raise "#{cmd} failed!" unless $?.exitstatus == 0
- end
-end
+desc "Travis run tests"
+task :travis => [
+ :spinach,
+ :spec
+]