CB-12785: added travis and appveyor
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3c3629e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+node_modules
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 f2700af..d654975 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,10 @@
 #
 -->
 
+[![Build status](https://ci.appveyor.com/api/projects/status/ewv1mhbvms0bfm26?svg=true)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/cordova-serve/branch/master)
+[![Build Status](https://travis-ci.org/apache/cordova-serve.svg?branch=master)](https://travis-ci.org/apache/cordova-serve)
+[![NPM](https://nodei.co/npm/cordova-serve.png)](https://nodei.co/npm/cordova-serve/)
+
 # cordova-serve
 This module can be used to serve up a Cordova application in the browser. It has no command-line, but rather is intended
 to be called using the following API:
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
diff --git a/package.json b/package.json
index a1c0553..26671d1 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,8 @@
     "jshint": "^2.8.0"
   },
   "scripts": {
-    "jshint": "node node_modules/jshint/bin/jshint src"
+    "jshint": "node node_modules/jshint/bin/jshint src",
+    "test": "npm run jshint"
   },
   "engines": {
     "node": ">=4.0.0",
diff --git a/src/browser.js b/src/browser.js
index 274d20e..2b08afb 100644
--- a/src/browser.js
+++ b/src/browser.js
@@ -20,7 +20,6 @@
 var child_process = require('child_process'),
     exec = require('./exec'),
     fs = require('fs'),
-    path = require('path'),
     Q = require('q');
 
 var NOT_INSTALLED = 'The browser target is not installed: %target%';