Skip to content

Commit 55b5e10

Browse files
committed
Test Gem on Windows with Appveyor
Fixes [#114]. Inspired by [How to Test Ruby Projects on Windows][post]. [#114]: #114 [post]: https://mattbrictson.com/how-to-test-ruby-windows
1 parent 1477ccb commit 55b5e10

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ gemspec
44

55
gem "rails", "4.2.4"
66
gem "pry"
7+
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw]
78

89
group :development, :test do
910
gem "high_voltage", "~> 2.4.0"

appveyor.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: '{build}'
2+
3+
skip_tags: true
4+
5+
environment:
6+
matrix:
7+
- ruby_version: "21"
8+
- ruby_version: "21-x64"
9+
10+
install:
11+
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
12+
- gem install bundler --no-document
13+
- bundle install --retry=3
14+
15+
test_script:
16+
- bundle exec rspec
17+
18+
build: off

0 commit comments

Comments
 (0)