From d036e6f0472fcec78b5de5e2cbd70e30e8d5cc6a Mon Sep 17 00:00:00 2001 From: tunnckoCore Date: Fri, 17 Mar 2017 01:57:43 +0200 Subject: [PATCH] fix(ci): update CI and add appveyor --- .travis.yml | 2 +- appveyor.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml index 269b04d..4ddde3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ node_js: notifications: email: false -after_success: npm run report-coverage +after_success: bash <(curl -s https://codecov.io/bash) diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..e209f68 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,26 @@ +environment: + matrix: + # node.js + - nodejs_version: "7" + - nodejs_version: "6" + - nodejs_version: "4" + - nodejs_version: "0.12" + - nodejs_version: "0.10" + +# Install scripts. (runs after repo cloning) +install: + # Get the latest stable version of Node.js or io.js + - ps: Install-Product node $env:nodejs_version + # install modules + - npm install + +# Post-install test scripts. +test_script: + # Output useful info for debugging. + - node --version + - npm --version + # run tests + - npm test + +# Don't actually build. +build: off