Sha256: 4df60c2daa48fe02f1587162618345dbd15adb34d6ff8301eea4116f66d1a01c

Contents?: true

Size: 220 Bytes

Versions: 9

Compression:

Stored size: 220 Bytes

Contents

task :travis do
  ["rake spec", "rake 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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
netzke-basepack-0.8.4 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.8.3 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.8.2 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.8.1 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.8.0 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.7.7 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-zh-0.7.6 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.7.6 test/basepack_test_app/lib/tasks/travis.rake
netzke-basepack-0.7.5 test/basepack_test_app/lib/tasks/travis.rake