CB-12785: added travis and appveyor
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..59fda3b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+language: node_js
+sudo: false
+git:
+ depth: 10
+node_js:
+ - "4"
+ - "6"
+install:
+ - "npm install"
+script:
+ - "npm test"
diff --git a/README.md b/README.md
index b6a2d33..7383298 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,10 @@
#
-->
+[![Build status](https://ci.appveyor.com/api/projects/status/wxkmo0jalsr8gane?svg=true)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/cordova-fetch/branch/master)
+[![Build Status](https://travis-ci.org/apache/cordova-fetch.svg?branch=master)](https://travis-ci.org/apache/cordova-fetch)
+[![NPM](https://nodei.co/npm/cordova-fetch.png)](https://nodei.co/npm/cordova-fetch/)
+
# cordova-fetch
This module is used for fetching modules from npm and gitURLs. It fetches the modules via `npm install`. It can also `npm uninstall` modules from a project.
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..94714f2
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,18 @@
+# appveyor file
+# http://www.appveyor.com/docs/appveyor-yml
+
+environment:
+ matrix:
+ - nodejs_version: "4"
+ - nodejs_version: "6"
+
+install:
+ - ps: Install-Product node $env:nodejs_version
+ - npm install
+
+build: off
+
+test_script:
+ - node --version
+ - npm --version
+ - npm test