summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Gemfile9
-rw-r--r--appveyor.yml23
2 files changed, 30 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index 3904ab32..6b145aa1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,7 +2,12 @@ source 'https://rubygems.org'
gemspec
group :test do
- gem 'rake', '>= 0.8.7'
+ if RUBY_VERSION.to_i < 2
+ gem 'rake', '>= 0.8.7', '< 11'
+ gem 'json', '< 2'
+ else
+ gem 'rake'
+ end
gem 'simplecov'
gem 'test-unit'
end
@@ -15,5 +20,5 @@ platforms :rbx do
gem 'rubysl'
gem 'rubysl-test-unit'
gem 'racc'
- gem 'rubinius-coverage', '~> 2.0'
+ gem 'rubinius-coverage', '~> 2.0'
end
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..0d7d5fce
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,23 @@
+version: 2.1.0.{build}-{branch}
+
+environment:
+ matrix:
+ - RUBY_VERSION: 23
+ - RUBY_VERSION: 22
+ - RUBY_VERSION: 21
+ - RUBY_VERSION: 200
+ - RUBY_VERSION: 193
+
+install:
+ - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
+ - bundle install
+
+build: off
+
+before_test:
+ - ruby -v
+ - gem -v
+ - bundle -v
+
+test_script:
+ - bundle exec rake