Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rymai committed May 20, 2013
1 parent 5436db2 commit d3c8187
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
@@ -1,20 +1,13 @@
language: ruby
before_install:
- gem update bundler
- bundle -v
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- ree
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ruby-head
- jruby-head
notifications:
recipients:
- remy@rymai.me
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@
Test::Unit guard allows to automatically & intelligently launch tests when files are modified or created.

* Compatible with Test::Unit 2.
* Tested against Ruby 1.8.7, 1.9.2, 1.9.3, 2.0.0, Ruby head, REE, JRuby (1.8 mode, 1.9 mode & head) & Rubinius (1.8 mode, 1.9 mode & head).
* Tested against Ruby 1.8.7, 1.9.3, 2.0.0, JRuby (1.8 mode & 1.9 mode) & Rubinius (1.8 mode & 1.9 mode).

## Install

Expand Down
31 changes: 0 additions & 31 deletions Rakefile
Expand Up @@ -4,34 +4,3 @@ Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

namespace :spec do

desc "Run all specs on multiple ruby versions (requires rvm and bundler)"
task :portability do
travis_config_file = File.expand_path("../.travis.yml", __FILE__)
begin
travis_options ||= YAML::load_file(travis_config_file)
rescue => ex
puts "Travis config file '#{travis_config_file}' could not be found: #{ex.message}"
return
end

travis_options['rvm'].each do |version|
system <<-BASH
bash -c 'source ~/.rvm/scripts/rvm;
rvm #{version};
ruby_version_string_size=`ruby -v | wc -m`
echo;
for ((c=1; c<$ruby_version_string_size; c++)); do echo -n "="; done
echo;
echo "`ruby -v`";
for ((c=1; c<$ruby_version_string_size; c++)); do echo -n "="; done
echo;
RBXOPT="-Xrbc.db" bundle install;
RBXOPT="-Xrbc.db" bundle exec rspec spec -f doc 2>&1;'
BASH
end
end

end

0 comments on commit d3c8187

Please sign in to comment.