diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -36,24 +36,6 @@ namespace :spec do Spec::Rubygems.dev_setup end - namespace :travis do - task :deps do - # Give the travis user a name so that git won't fatally error - system "sudo sed -i 's/1000::/1000:Travis:/g' /etc/passwd" - # Strip secure_path so that RVM paths transmit through sudo -E - system "sudo sed -i '/secure_path/d' /etc/sudoers" - # Refresh packages index that the ones we need can be installed - sh "sudo apt-get update" - # Install groff so ronn can generate man/help pages - sh "sudo apt-get install groff-base=1.22.3-10 -y" - # Install graphviz so that the viz specs can run - sh "sudo apt-get install graphviz -y" - - # Install the other gem deps, etc - Rake::Task["spec:deps"].invoke - end - end - task :clean do rm_rf "tmp" end @@ -127,7 +109,7 @@ task :check_rvm_integration do # The rubygems-bundler gem is installed by RVM by default and it could easily # break when we change bundler. Make sure that binstubs still run with it # installed. - sh("bin/rake install && gem install rubygems-bundler && rake -T") + sh("gem install rubygems-bundler && RUBYOPT=-Ilib rake -T") end namespace :man do |