Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8f0c1fc803
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (31 sloc) 0.81 kb
task :spec do
Dir.chdir('ext') do
sh "make clean" rescue nil
sh "ruby extconf.rb"
sh "make"
end
sh "ruby spec/memprof_spec.rb"
end
task :default => :spec
task :ci_spec do
Dir.chdir('ext') do
sh '/usr/bin/env bash -c "make clean"' rescue nil
sh "~/.rvm/bin/memprof_ruby extconf.rb"
sh '/usr/bin/env bash -c "make"'
end
sh "~/.rvm/bin/memprof_ruby spec/memprof_spec.rb"
end
task :x86_64_shared do
sh '/usr/bin/env bash -c "
source ~/.rvm/scripts/rvm &&
rvm install 1.8.7 --force -C --enable-shared &&
rvm 1.8.7 --symlink memprof"'
Rake::Task[:ci_spec].invoke
end
task :x86_64_static do
sh '/usr/bin/env bash -c "
source ~/.rvm/scripts/rvm &&
rvm install 1.8.7 --force -C --disable-shared &&
rvm 1.8.7 --symlink memprof"'
Rake::Task[:ci_spec].invoke
end
Jump to Line
Something went wrong with that request. Please try again.