1 namespace :test do 2 desc "Run continuous integration tests" 3 RSpec::Core::RakeTask.new('ci' => :build) do |t| 4 t.rspec_opts = ["--colour", "--format", ENV['JASMINE_SPEC_FORMAT'] || "progress"] 5 t.verbose = true 6 t.rspec_opts += ["-r #{base_path.join('tasks/support/gl-matrix')}"] 7 t.pattern = [Jasmine.runner_filepath] 8 end 9 end 10