Sha256: 70ea20cd2e4206956b66ac3ff6b54c65b7b623c02ecea9a25b4f5a8898c6a259
Contents?: true
Size: 316 Bytes
Versions: 8
Compression:
Stored size: 316 Bytes
Contents
require "bundler/gem_tasks" desc "Run tests for travis" task :travis do ["cucumber"].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 'Default: run tests.' task :default => ['travis']
Version data entries
8 entries across 8 versions & 1 rubygems