Skip to content

Commit

Permalink
chore: Switch to AppVeyor for Windows testing (#1255)
Browse files Browse the repository at this point in the history
Also, switch to shields.io for all badges (minus the Slack one)
  • Loading branch information
XhmikosR authored and coreyfarrell committed Dec 27, 2019
1 parent fcd2115 commit 676ca86
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
language: node_js
os:
- windows
- linux
- osx
node_js:
- "node"
- 10
- 8
matrix:
## An ENOMEM error occurs with 10+ under Travis-CI for Windows.
## Disable until we can determine the cause.
# include:
# - os: windows
# node_js: "latest"
exclude:
- os: windows
node_js: "node"
- os: windows
node_js: 10
git:
depth:
1
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# nyc

[![Build Status](https://travis-ci.org/istanbuljs/nyc.svg?branch=master)](https://travis-ci.org/istanbuljs/nyc)
[![Coverage Status](https://coveralls.io/repos/istanbuljs/nyc/badge.svg?branch=)](https://coveralls.io/r/istanbuljs/nyc?branch=master)
[![Build Status](https://img.shields.io/travis/istanbuljs/nyc/master.svg)](https://travis-ci.org/istanbuljs/nyc)
[![Windows Build Status](https://img.shields.io/appveyor/ci/istanbuljs/nyc/master.svg?label=Windows%20build)](https://ci.appveyor.com/project/istanbuljs/nyc/branch/master)
[![Coverage Status](https://img.shields.io/coveralls/github/istanbuljs/nyc/master.svg)](https://coveralls.io/r/istanbuljs/nyc?branch=master)
[![NPM version](https://img.shields.io/npm/v/nyc.svg)](https://www.npmjs.com/package/nyc)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![community slack](https://devtoolscommunity.herokuapp.com/badge.svg)](https://devtoolscommunity.herokuapp.com)
Expand Down
31 changes: 31 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "{build}"

shallow_clone: true

environment:
matrix:
- NODEJS_VERSION: "13"
PLATFORM: x64
- NODEJS_VERSION: "12"
PLATFORM: x64
- NODEJS_VERSION: "10"
PLATFORM: x64
- NODEJS_VERSION: "8"
PLATFORM: x64

install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:NODEJS_VERSION) $env:PLATFORM
- npm ci

test_script:
- node --version
- npm --version
- npm test

build: off

matrix:
fast_finish: true

cache:
- '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json'

0 comments on commit 676ca86

Please sign in to comment.