Maher4Ever / wdm

Windows Directory Monitor (WDM) is a threaded directories monitor for Windows.
https://rubygems.org/gems/wdm
MIT License
51 stars 15 forks source link

Appveyor.yml added for integration testing on windows #20

Closed ccoenen closed 9 years ago

ccoenen commented 9 years ago

Appveyor is a CI similar to Travis, except that it's running on windows. I am adding a appveyor.yml based on this blog post. Here's the running example from my fork.

ccoenen commented 9 years ago

@luislavena pointed out that i mistakenly added devkit as a conditional dependency (I thought it was windows only) I fixed it, and force-pushed to my pull request branch.

The devkit-commit fixes this on a machine that does not have the devkit gem installed:

> bundle install
Resolving dependencies...
Using rake 10.4.2
[... lots of lines, but no devkit ...]
Using rake-compiler 0.9.5
Using wdm 0.1.1 from source at .
Using bundler 1.7.12
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.

> bundle exec rake compile
rake aborted!
LoadError: cannot load such file -- devkit
...

The second commit actually adds the appveyor.yml.

ccoenen commented 9 years ago

(Discussion can still be accessed here: https://github.com/ccoenen/wdm/commit/47ea44389e4ee83bdd33623e005ad5d617fc569a#commitcomment-12320732 )

Maher4Ever commented 9 years ago

Thank you for adding this. When I started developing WDM there were no alternatives for Travis CI that support Windows. It's nice to see that has changed since then :).