From 21b95370faf6e1feff1866fb0b44d64a43652515 Mon Sep 17 00:00:00 2001 From: Adrien Antoine Date: Thu, 8 Sep 2016 11:16:27 +0100 Subject: [PATCH] chore(ci): Added appveyor config --- appveyor.yml | 19 +++++++++++++++++++ codecov.yml | 3 --- package.json | 1 + 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..da14b3a --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,19 @@ +environment: + matrix: + - nodejs_version: '6' + - nodejs_version: '4' +install: + - ps: Install-Product node $env:nodejs_version + - npm install -g npm@latest || (timeout 30 && npm install -g npm@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/codecov.yml b/codecov.yml index 8916100..9cbaba4 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,5 +1,2 @@ -codecov: - branch: master - coverage: range: "90...100" diff --git a/package.json b/package.json index 923e5c5..c594415 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "build": "babel src -d build", "dev": "watch 'npm run build' src/", "test": "npm run test:lint && npm run test:plugin", + "test:win": "ava", "test:lint": "eslint src/ test/", "test:plugin": "eslint src/ test/ && nyc --cache --reporter=text ava", "test:ava": "cd examples/ava; rm -rf node_modules; npm it",