Skip to content

Commit 676ca86

Browse files
XhmikosRcoreyfarrell
authored andcommitted
chore: Switch to AppVeyor for Windows testing (#1255)
Also, switch to shields.io for all badges (minus the Slack one)
1 parent fcd2115 commit 676ca86

File tree

3 files changed

+34
-14
lines changed

3 files changed

+34
-14
lines changed

.travis.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
language: node_js
22
os:
3-
- windows
43
- linux
54
- osx
65
node_js:
76
- "node"
87
- 10
98
- 8
10-
matrix:
11-
## An ENOMEM error occurs with 10+ under Travis-CI for Windows.
12-
## Disable until we can determine the cause.
13-
# include:
14-
# - os: windows
15-
# node_js: "latest"
16-
exclude:
17-
- os: windows
18-
node_js: "node"
19-
- os: windows
20-
node_js: 10
219
git:
2210
depth:
2311
1

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# nyc
22

3-
[![Build Status](https://travis-ci.org/istanbuljs/nyc.svg?branch=master)](https://travis-ci.org/istanbuljs/nyc)
4-
[![Coverage Status](https://coveralls.io/repos/istanbuljs/nyc/badge.svg?branch=)](https://coveralls.io/r/istanbuljs/nyc?branch=master)
3+
[![Build Status](https://img.shields.io/travis/istanbuljs/nyc/master.svg)](https://travis-ci.org/istanbuljs/nyc)
4+
[![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)
5+
[![Coverage Status](https://img.shields.io/coveralls/github/istanbuljs/nyc/master.svg)](https://coveralls.io/r/istanbuljs/nyc?branch=master)
56
[![NPM version](https://img.shields.io/npm/v/nyc.svg)](https://www.npmjs.com/package/nyc)
67
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
78
[![community slack](https://devtoolscommunity.herokuapp.com/badge.svg)](https://devtoolscommunity.herokuapp.com)

appveyor.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: "{build}"
2+
3+
shallow_clone: true
4+
5+
environment:
6+
matrix:
7+
- NODEJS_VERSION: "13"
8+
PLATFORM: x64
9+
- NODEJS_VERSION: "12"
10+
PLATFORM: x64
11+
- NODEJS_VERSION: "10"
12+
PLATFORM: x64
13+
- NODEJS_VERSION: "8"
14+
PLATFORM: x64
15+
16+
install:
17+
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:NODEJS_VERSION) $env:PLATFORM
18+
- npm ci
19+
20+
test_script:
21+
- node --version
22+
- npm --version
23+
- npm test
24+
25+
build: off
26+
27+
matrix:
28+
fast_finish: true
29+
30+
cache:
31+
- '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json'

0 commit comments

Comments
 (0)