mirror of
https://github.com/NicolasConstant/sengi
synced 2024-12-22 21:58:59 +01:00
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
os: unstable
|
|
cache:
|
|
#- node_modules
|
|
environment:
|
|
GH_TOKEN:
|
|
secure: eXSiJiDFgLi4vixO5GS93lgrqZ+BzQNy7PKPCQCErHjCQD9mWiEtVQQnhvmUq1FPLUc3fNLmOFQu2nIWA9bnkHg5Yw9WiG2m7QSCPRB+xCnvSY6JbLqpzURZp5x5OLj6
|
|
matrix:
|
|
- nodejs_version: 10.9.0
|
|
install:
|
|
- ps: Install-Product node $env:nodejs_version
|
|
- set CI=true
|
|
- npm install -g npm@6.9.0
|
|
- set PATH=%APPDATA%\npm;%PATH%
|
|
- npm install
|
|
matrix:
|
|
fast_finish: true
|
|
build: off
|
|
version: '{build}'
|
|
shallow_clone: true
|
|
clone_depth: 1
|
|
test_script:
|
|
- 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 $_))
|
|
}
|
|
- npm run dist
|
|
- ps: >-
|
|
Remove-Item 'C:\projects\sengi\dist\assets\emoji' -Recurse
|
|
artifacts:
|
|
- path: dist
|
|
deploy:
|
|
- provider: FTP
|
|
host: home205977321.1and1-data.host
|
|
protocol: sftp
|
|
username: u45308485-sengi
|
|
password:
|
|
secure: Sk3NZwuaYK9hTIQ3kgIIQEc8SmaPDVGvGpgsZzFEzoVLuy4WxVfvKQtegW9oXaj7
|
|
folder: /
|
|
application: dist.zip
|
|
on:
|
|
branch: master
|
|
# APPVEYOR_REPO_TAG: true
|