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",