forked from SelfKeyFoundation/Identity-Wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
60 lines (58 loc) · 8.13 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
image: Visual Studio 2017
environment:
OSENV: windows
NO_PROXY: 127.0.0.1,localhost
encryptedkey:
secure: 8HCeZ0WW/f09cU7PgV31q14Xy46vU/2dYHnP0ZCpi/tLvVzr2gnY+BZ99S1u1cAHJNdAyRX/pp91L91KiXdh/2ZuE1fqAXcaVo2/j4VB01c=
encryptediv:
secure: UUs7HYg9U50gP2ryZoTtH2WaU0BhoSLBhsOIQRgHpj+oluUpXTv/O4spjDRC9qOT
GH_TOKEN:
secure: HmFC4GOzQ3zCX7fwJx+9CZGf+BphWZ1Vh/s1it0LV1w/4QcM0JaIZJ5mwWCl/A6Y
CSC_LINK:
secure: 4ryM89uRllDlRTYUKwPRLS3xvqpOiT7pNvS+qb5eB4QazlQNtwc/+yAWoiPKpTTQcA6LwM/kfLP6QsRTj2l4fVySMIPhP6MHiCEJOHEGjSHpZjPm+68NaDdE6RKpPwBIEjvkkiJrPPU5h+WDFW8JwMBw1DB4q1nrJ93PdtbK4Hy64h0ELGqVdxY5dsFnI2t+PGxqzJid0cbInV4iN9iIgICgMjAbAYWm4Djvvx9lsgaIcr/bLiGkVqZHDGDOG3aCqgUc/Fie2GqLbr6T5MiHQGUkr9S8DKRHkqwsPo2mbzTk5JeWIMdTaEXrtt3cndScIUqyunNuugbltGhAzcWfBhJYfTnPk4Acv/uxepbwdxDsyCAoXRpV3LJ+yCMMaOOEzjGA6C3ZiQHK/LQm6RJVT61GavZWUIpYBAbzQdSFaSjmv5+dOl9nz4llRGOpyNmvSH+g/358FzOPaNEjFMOe6IoSLs+W/J4Sf9SzLHnCTdAZOr2WwO7NmwuluV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AHhnNNIsy4HZVNHEG51a4tAo8p+mON5XmYqq5y6+Y6iGakbVUO8JzeFk6I8myb8mqVcUtuwD8/LWilqVqXocXD97oboloNOWdF6eAbyKNVLepph7g5SCHtt7E/hLvDzpUrDURG8wR+3gIuygV50hPqxacUh+E5XUnDXVvPkWCnDxCyyu/CHCibCH8c6Li5PdntmRB4XzW8XS8ORvo4bnaZ2UQzGlbIjZrOdBIu8OmkkHFWJ+p5kFoCYKApL+sOqwh07LMeAcC3AHAESXClqMIJ3GGC79XiYpRqTG9dBWXgiy8jS6MF4sczNAdX+82Kt86e5sXwYrE3o76yxuZMXllvUd2c63bDllr0E6Fdr2yK5Mnuh535HVnplYYu0xHyPOTGSLJcrTTuqGKEPSY+psltk8KNE/BBwn8a6+RbRpUXJHv8zTmLhK6DdqMR2uj3W8Y1qcWsfs78vlv5k9YTkrokSEQmFgASUhLrpxrw==
CSC_KEY_PASSWORD:
secure: LXKG/dtrGP5ygqv4jD61pA==
MM_URL:
secure: QfAI68E/qnE7UZMvjqIQIkiMASDooWknt2psZWeawGTa8iu4cuNWd5P+ronxVphBXYAPuwEywIadwnxAj4WmIkL6rfGd/OQo1hlsNfEwYCo=
SENTRY_DSN:
secure: z2HN+AfLblFuqEDtdIOzj9ngBI0H+JWU2A7EdUX70iUfTU/dQYoDkCQAnLG87K90TYcsQF7eXzQ0dhZvfuRWFmD2iQfXJnTc2fnbe4trtd0=
nodejs_version: 10.11.0
platform:
- x64
init:
- tzutil /s "UTC"
- git config --global core.autocrlf input
cache:
# - node_modules
- '%LOCALAPPDATA%/Yarn'
install:
- ps: Start-FileDownload 'https://storage.googleapis.com/win-open-ssl/Win64OpenSSL-1_0_2r.exe'
- ps: Start-Process 'Win64OpenSSL-1_0_2r.exe' -ArgumentList '/silent /verysilent /sp- /suppressmsgboxes' -Wait
- ps: Start-FileDownload 'https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe'
- ps: Start-Process 'GoogleCloudSDKInstaller.exe' -ArgumentList '/S' -Wait
- refreshenv
- ps: Install-Product node $env:nodejs_version x64
- npm config set msvs_version 2015 --global
- set PATH=C:\Ruby22\bin;%PATH%
- gem install sass compass
- npm i -g yarn
- yarn install-all
build_script:
- echo {"dsn":"%SENTRY_DSN%"} > src\assets\data\sentry.json
- set DEBUG=electron-builder
- yarn dist --publish=never
test_script:
- yarn test:unit
# - yarn test:e2e disabling it for now as it may be leaving an electron app open and the release script cannot release because a file locked
deploy_script:
- if [%APPVEYOR_PULL_REQUEST_NUMBER%]==[] if [%APPVEYOR_REPO_BRANCH%]==[dev] set _tempvar=1
- if [%APPVEYOR_PULL_REQUEST_NUMBER%]==[] if [%APPVEYOR_REPO_BRANCH%]==[release] set _tempvar=1
- if [%APPVEYOR_PULL_REQUEST_NUMBER%]==[] if [%APPVEYOR_REPO_BRANCH%]==[nightly] set _tempvar=1
- if [%APPVEYOR_PULL_REQUEST_NUMBER%]==[] if NOT [%APPVEYOR_REPO_BRANCH%]==[%APPVEYOR_REPO_BRANCH:staging=%] set _tempvar=1
- if defined _tempvar for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do set datetime=%%I
- if defined _tempvar set datetime=%datetime:~0,4%.%datetime:~4,2%.%datetime:~6,2%.%datetime:~8,2%
- if defined _tempvar C:\OpenSSL-Win64\bin\openssl aes-256-cbc -K "%encryptedkey%" -iv "%encryptediv%" -in client-secret.json.enc -out client-secret.json -d
- if defined _tempvar gcloud auth activate-service-account --key-file client-secret.json
- if defined _tempvar gsutil cp dist/*.exe gs://selfkey-builds/%APPVEYOR_REPO_BRANCH%/%datetime%/
after_deploy:
- if [%APPVEYOR_PULL_REQUEST_NUMBER%]==[] if [%APPVEYOR_REPO_BRANCH%]==[master] yarn publish-build