1
0
mirror of https://github.com/NicolasConstant/sengi synced 2025-01-31 02:37:10 +01:00

49 lines
1.2 KiB
YAML
Raw Normal View History

2019-04-04 23:23:09 -04:00
os: unstable
cache:
2022-01-19 22:39:44 -05:00
#- node_modules
2019-04-04 23:23:09 -04:00
environment:
GH_TOKEN:
2022-12-07 22:47:27 -05:00
secure: eXSiJiDFgLi4vixO5GS93lgrqZ+BzQNy7PKPCQCErHjCQD9mWiEtVQQnhvmUq1FPLUc3fNLmOFQu2nIWA9bnkHg5Yw9WiG2m7QSCPRB+xCnvSY6JbLqpzURZp5x5OLj6
2019-04-04 23:23:09 -04:00
matrix:
2019-04-04 23:27:06 -04:00
- nodejs_version: 10.9.0
2019-04-04 23:23:09 -04:00
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
2022-01-19 22:32:50 -05:00
- npm install -g npm@6.9.0
2019-04-04 23:23:09 -04:00
- 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-06 18:57:27 -04:00
- ps: >-
npm run test-nowatch
2019-04-06 19:06:08 -04:00
2019-04-06 18:57:27 -04:00
$wc = New-Object 'System.Net.WebClient'
2019-04-06 19:06:08 -04:00
2019-04-06 18:57:27 -04:00
Get-ChildItem . -Name -Recurse 'TESTS-*.xml' |
2019-04-06 19:10:58 -04:00
2019-04-06 18:57:27 -04:00
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}
2019-04-06 19:02:46 -04:00
- npm run dist
- ps: >-
2020-03-14 14:06:43 -04:00
Remove-Item 'C:\projects\sengi\dist\assets\emoji' -Recurse
2019-04-06 19:06:08 -04:00
artifacts:
2019-04-06 19:10:58 -04:00
- path: dist
deploy:
- provider: FTP
host: home205977321.1and1-data.host
protocol: sftp
username: u45308485-sengi
password:
secure: Sk3NZwuaYK9hTIQ3kgIIQEc8SmaPDVGvGpgsZzFEzoVLuy4WxVfvKQtegW9oXaj7
folder: /
application: dist.zip
on:
2021-03-20 16:53:55 -04:00
branch: master
# APPVEYOR_REPO_TAG: true