From 007add793d2b5ae3c382512103adbf321768a0b8 Mon Sep 17 00:00:00 2001 From: Charles Samborski Date: Fri, 12 Oct 2018 12:01:56 +0200 Subject: [PATCH] fix(ci): use Travis for Windows builds This commit fixes failing CI and updates the list of checked Node versions to included the latest LTS releases. The main change is that it drops AppVeyor in favor of Travis for Windows builds. --- .travis.yml | 15 ++++++++++++--- README.md | 1 - appveyor.yml | 19 ------------------- 3 files changed, 12 insertions(+), 23 deletions(-) delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml index 089861a..611d83f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,15 @@ sudo: false + language: node_js + node_js: - - '0.12' - - '4' - - '5' +- '0.12' +- '4' +- '6' +- '8' +- '10' + +os: +- windows +- linux +- osx diff --git a/README.md b/README.md index 8ebccab..9f8eb59 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![Build Status](https://travis-ci.org/tapjs/signal-exit.png)](https://travis-ci.org/tapjs/signal-exit) [![Coverage](https://coveralls.io/repos/tapjs/signal-exit/badge.svg?branch=master)](https://coveralls.io/r/tapjs/signal-exit?branch=master) [![NPM version](https://img.shields.io/npm/v/signal-exit.svg)](https://www.npmjs.com/package/signal-exit) -[![Windows Tests](https://img.shields.io/appveyor/ci/bcoe/signal-exit/master.svg?label=Windows%20Tests)](https://ci.appveyor.com/project/bcoe/signal-exit) [![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version) When you want to fire an event no matter how a process exits: diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index b29e6c6..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,19 +0,0 @@ -environment: - matrix: - - nodejs_version: '5' - - nodejs_version: '4' - - nodejs_version: '0.12' -install: - - ps: Install-Product node $env:nodejs_version - - set CI=true - - npm -g install npm@latest - - set PATH=%APPDATA%\npm;%PATH% - - npm install -matrix: - fast_finish: true -build: off -version: '{build}' -shallow_clone: true -clone_depth: 1 -test_script: - - npm test