From 30be72c8c38a210b463c3d21eadcb89d5cf0454d Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Tue, 29 May 2018 17:16:25 +0200 Subject: [PATCH 1/5] Add appveyor.yml --- appveyor.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..c0758e7 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +version: "{build}" +build: off +skip_tags: true + +environment: + matrix: + - nodejs_version: "6" + - nodejs_version: "8" + - nodejs_version: "9" + - nodejs_version: "10" + +platform: + - x86 + - x64 + +install: + - ps: Install-Product node $env:nodejs_version $env:platform + - set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH% + - npm i + +test_script: + - npm test From e132d5ae6f1c2785b4e846bbd4baa402f503fa76 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Tue, 29 May 2018 17:18:32 +0200 Subject: [PATCH 2/5] Add verify-travis-appveyor --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b50a9ce..28c7d52 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,11 @@ }, "devDependencies": { "standard": "^11.0.0", - "tape": "^4.2.2" + "tape": "^4.2.2", + "verify-travis-appveyor": "^3.0.0" }, "scripts": { - "test": "standard && node test.js", + "test": "standard && node test.js && verify-travis-appveyor", "postinstall": "opencollective-postinstall || exit 0" }, "engines": { From abd15f112e02b46699f710e4a7c2710c5d30f6a1 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Tue, 29 May 2018 17:31:05 +0200 Subject: [PATCH 3/5] Add AppVeyor badge --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1897fdf..50efe65 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ [![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg)](#sponsors) [![npm](https://img.shields.io/npm/v/level.svg)](https://www.npmjs.com/package/level) ![Node version](https://img.shields.io/node/v/level.svg) -[![Build Status](https://secure.travis-ci.org/Level/level.svg)](http://travis-ci.org/Level/level) +[![Travis](https://secure.travis-ci.org/Level/level.svg)](http://travis-ci.org/Level/level) +[![AppVeyor](https://img.shields.io/appveyor/ci/Level/level.svg?label=appveyor)](https://ci.appveyor.com/project/Level/level) [![dependencies](https://david-dm.org/Level/level.svg)](https://david-dm.org/level/level) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![npm](https://img.shields.io/npm/dm/level.svg)](https://www.npmjs.com/package/level) From 01419f0b069f802caf4398d8f806e9041ca15cf1 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Tue, 29 May 2018 17:48:00 +0200 Subject: [PATCH 4/5] Tweak Travis badge label --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 50efe65..197b5d7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg)](#sponsors) [![npm](https://img.shields.io/npm/v/level.svg)](https://www.npmjs.com/package/level) ![Node version](https://img.shields.io/node/v/level.svg) -[![Travis](https://secure.travis-ci.org/Level/level.svg)](http://travis-ci.org/Level/level) +[![Travis](https://secure.travis-ci.org/Level/level.svg?label=travis)](http://travis-ci.org/Level/level) [![AppVeyor](https://img.shields.io/appveyor/ci/Level/level.svg?label=appveyor)](https://ci.appveyor.com/project/Level/level) [![dependencies](https://david-dm.org/Level/level.svg)](https://david-dm.org/level/level) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) From 0055df71256a8397c201b31f47ce8befe3c961ff Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Tue, 29 May 2018 17:49:43 +0200 Subject: [PATCH 5/5] Use img.shields.io for Travis badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 197b5d7..4dd449e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg)](#sponsors) [![npm](https://img.shields.io/npm/v/level.svg)](https://www.npmjs.com/package/level) ![Node version](https://img.shields.io/node/v/level.svg) -[![Travis](https://secure.travis-ci.org/Level/level.svg?label=travis)](http://travis-ci.org/Level/level) +[![Travis](https://img.shields.io/travis/Level/level.svg?label=travis)](http://travis-ci.org/Level/level) [![AppVeyor](https://img.shields.io/appveyor/ci/Level/level.svg?label=appveyor)](https://ci.appveyor.com/project/Level/level) [![dependencies](https://david-dm.org/Level/level.svg)](https://david-dm.org/level/level) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)