You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/06/06 22:51:23 UTC

cordova-fetch git commit: CB-12785: added travis and appveyor

Repository: cordova-fetch
Updated Branches:
  refs/heads/master 8a2021c48 -> 74d73c2e6


CB-12785: added travis and appveyor


Project: http://git-wip-us.apache.org/repos/asf/cordova-fetch/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-fetch/commit/74d73c2e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-fetch/tree/74d73c2e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-fetch/diff/74d73c2e

Branch: refs/heads/master
Commit: 74d73c2e606db3c30f31959be14f69f406c05ff2
Parents: 8a2021c
Author: Steve Gill <st...@gmail.com>
Authored: Tue Jun 6 15:52:03 2017 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Tue Jun 6 15:52:03 2017 -0700

----------------------------------------------------------------------
 .travis.yml  | 11 +++++++++++
 README.md    |  4 ++++
 appveyor.yml | 18 ++++++++++++++++++
 3 files changed, 33 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/74d73c2e/.travis.yml
----------------------------------------------------------------------
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"

http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/74d73c2e/README.md
----------------------------------------------------------------------
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.

http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/74d73c2e/appveyor.yml
----------------------------------------------------------------------
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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org