Sha256: be927a141617ad3aae0ecc46c4cee849ade2249385fd22dc951d5171b8a1caa6

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

namespace :spec do

  desc "Run the tests in CI mode"
  task :ci do
    prev = ENV["CONTINUOUS_INTEGRATION"]
    ENV["CONTINUOUS_INTEGRATION"] = "yes"

    # Simplecov doesn't support 1.8
    unless RUBY_VERSION.start_with? "1.8"
      Rake::Task["spec:coverage"].execute
    else
      Rake::Task["spec"].execute
    end

    Rake::Task["spec:mutate"].execute

    ENV["CONTINUOUS_INTEGRATION"] = prev
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cli-forge-0.1.0 tasks/spec/ci.rake
cli-forge-0.0.0 tasks/spec/ci.rake