-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (54 loc) · 1.77 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
60
61
version: 1.0.{build}
environment:
nodejs_version: "6.3.0"
GITHUB_KEY:
secure: eZcSozzDKzRJhSoXL7LS9w1jqFLdkiRT4H57JoWGpKj/kS6NC/DP3ColwKkvSeFn
SIGN_CERT_PASS:
secure: UEVPxVtsn5UnAi3PhhkUSA==
GPMDP_LASTFM_API_KEY:
secure: t4Ka6QT10/i0FMX4cVi4BaNeGKfi76T/iEKZ3PEsnUPrQ2lK6cmlGSA01NfHvUze
GPMDP_LASTFM_API_SECRET:
secure: RIfJtcbYwHBG7uGI8TQS9JzO37zPNuyO3yPPayVKb8vVISfxrFXH4rYT9dzmGaAx
GPMDP_SENTRY_DSN:
secure: SOdAq6QgqVupAJIbh7LIUDa3hv5cgjR5bZD4u2x1/4ErWjwzoYjZwTQoaNaPSwZ5cx7bda0ExE5oBjoJJSmXki0yjKMHRur172h2ysk4FHYb7S2zW7lHTBCiDXOryVHS
GOOGLE_MUSIC_JS_EMAIL:
secure: UtCUPcatc43rCKYKuQUl+Q==
GOOGLE_MUSIC_JS_PASSWORD:
secure: ysdUmqSIrW+4OE1sRvLp+g==
BONJOUR_SDK_HOME: 'C:\\Program Files\\Bonjour SDK'
GPMDP_DONT_BUILD_DELTAS: 'true'
branches:
except:
- website
os: Previous Visual Studio 2015
platform:
- x64
cache:
- node_modules
- '%USERPROFILE%\.electron'
install:
- ps: Install-Product node $env:nodejs_version
- npm i -g npm@3
- if exist "node_modules" rd /S /Q "node_modules"
- appveyor DownloadFile https://www.samuelattard.com/files/bonjourcore2.msi
- msiexec /i bonjourcore2.msi /qn
- del bonjourcore2.msi
- appveyor DownloadFile https://www.samuelattard.com/files/bonjoursdksetup.exe
- bonjoursdksetup.exe /quiet
- del bonjoursdksetup.exe
- npm cache clean
- npm install
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
# Clean build so that Component names are not minified
- npm run build
- npm run test-electron-main -- -R mocha-appveyor-reporter
- npm run test-electron-renderer -- -R mocha-appveyor-reporter
build_script:
- cmd: npm run make:win
artifacts:
- path: 'dist\installers\win32\Google Play Music Desktop PlayerSetup.exe'