Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.426 kB
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rspec/core/rake_task'
require 'coveralls/rake/task'
# Test unit
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/test*.rb']
t.verbose = true
end
# RSpec
RSpec::Core::RakeTask.new(:spec)
# Coveralls
Coveralls::RakeTask.new
default_task = [:test, :spec]
default_task << 'coveralls:push' if ENV['TRAVIS']
task default: default_task
Jump to Line
Something went wrong with that request. Please try again.