add support for appveyor
diff --git a/README.md b/README.md
index 33670eb..15e0368 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
 A library to reflect on the local pub cache.
 
 [![Build Status](https://travis-ci.org/dart-lang/pub_cache.svg)](https://travis-ci.org/dart-lang/pub_cache)
+[![Build status](https://ci.appveyor.com/api/projects/status/w75vsabfhgmo93hq/branch/master?svg=true)](https://ci.appveyor.com/project/devoncarew/pub-cache/branch/master)
 [![Coverage Status](https://img.shields.io/coveralls/dart-lang/pub_cache.svg)](https://coveralls.io/r/dart-lang/pub_cache?branch=master)
 
 ## Features and bugs
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..7dd3332
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,15 @@
+# Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+install:
+  - cinst -y dart-sdk
+  - ps: $env:PATH = "$env:PATH;c:\tools\dart-sdk\bin"
+  - ps: $env:PATH = "$env:PATH;c:\Users\appveyor\AppData\Roaming\Pub\Cache\bin"
+  - pub get
+
+build: off
+
+test_script:
+  - dartanalyzer --fatal-warnings example\list.dart lib\pub_cache.dart test\all.dart
+  - dart test\all.dart