Skip to content

Commit

Permalink
Run specs on Appveyor. (#88)
Browse files Browse the repository at this point in the history
Run tests on Appveyor
  • Loading branch information
kapoorlakshya authored and twalpole committed May 3, 2019
1 parent 1fb5445 commit 39343bf
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
require: rubocop-rspec

Layout/EndOfLine:
EnforcedStyle: lf

Metrics/LineLength:
Max: 120

Expand Down
23 changes: 23 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
build: off
cache:
- vendor/bundle
environment:
matrix:
- RUBY_VERSION: 24
RAKE_TASK: spec
- RUBY_VERSION: 24
RAKE_TASK: rubocop
- RUBY_VERSION: 25
RAKE_TASK: spec
- RUBY_VERSION: 26
RAKE_TASK: spec
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- bundle config --local path vendor/bundle
- bundle install
before_test:
- ruby -v
- gem -v
- bundle -v
test_script:
- bundle exec rake %RAKE_TASK%
1 change: 1 addition & 0 deletions webdrivers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']

s.add_development_dependency 'ffi', '~> 1.0' # For selenium-webdriver on Windows
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rubocop', '~>0.66'
Expand Down

0 comments on commit 39343bf

Please sign in to comment.