Sengi-Windows-MacOS-Linux/appveyor.yml

30 lines
732 B
YAML
Raw Normal View History

2019-04-05 05:23:09 +02:00
os: unstable
cache:
- node_modules
environment:
GH_TOKEN:
secure: wRRBU0GXTmTBgZBs2PGSaEJWOflynAyvp3Nc/7e9xmciPfkUCQAXcpOn0jIYmzpb
matrix:
2019-04-05 05:27:06 +02:00
- nodejs_version: 10.9.0
2019-04-05 05:23:09 +02:00
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install -g 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:
2019-04-07 00:57:27 +02:00
- npm run dist
- ps: >-
npm run test-nowatch
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem . -Name -Recurse 'TESTS-*.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}