forked from kant2002/lwip
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
38 lines (30 loc) · 841 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
image: Visual Studio 2019
environment:
matrix:
- nodejs_version: 10
- nodejs_version: 12
- nodejs_version: 14
- nodejs_version: ""
matrix:
allow_failures:
- nodejs_version: 8
- nodejs_version: ""
install:
- ps: Install-Product node $env:nodejs_version
- node --version
- npm --version
- npm ci
test_script:
- npm test
build: off
on_finish:
- curl -s https://report.ci/upload.py | python - --include='*test-results.xml' --framework=junit
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test-results.xml))
version: "{build}"
cache:
- node_modules
- '%APPDATA%\npm-cache'