[Pkg-javascript-commits] [node-stack-utils] 11/67: add appveyor config

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 09:53:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-stack-utils.

commit 9e6f8b26746fb42962752adf26b8b503aa6a5fd8
Author: James Talmage <james at talmage.io>
Date:   Mon Jan 4 22:38:12 2016 -0500

    add appveyor config
---
 appveyor.yml | 22 ++++++++++++++++++++++
 package.json |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..e27431f
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,22 @@
+environment:
+  matrix:
+    - nodejs_version: '5'
+    - nodejs_version: '4'
+    - nodejs_version: '0.12'
+install:
+  - ps: Install-Product node $env:nodejs_version
+  - set CI=true
+  - set AVA_APPVEYOR=true
+  - npm -g install npm at latest || (timeout 30 && npm -g install npm at latest)
+  - set PATH=%APPDATA%\npm;%PATH%
+  - npm install || (timeout 30 && npm install)
+matrix:
+  fast_finish: true
+build: off
+version: '{build}'
+shallow_clone: true
+clone_depth: 1
+test_script:
+  - node --version
+  - npm --version
+  - npm run test-win || (timeout 30 && npm run test-win)
diff --git a/package.json b/package.json
index 5ff053d..41bf14e 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
     "node": ">=0.10.0"
   },
   "scripts": {
-    "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose"
+    "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose",
+    "test-win": "ava --verbose"
   },
   "files": [
     "index.js"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stack-utils.git



More information about the Pkg-javascript-commits mailing list