MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-

View on GitHub
appveyor.yml

Summary

Maintainability
Test Coverage
version: 1.0.{build}
environment:
  nodejs_version: "8.15.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: Visual Studio 2015
platform:
  - x64

cache:
  # - node_modules
  - '%USERPROFILE%\.electron'

install:
  - ps: Install-Product node $env:nodejs_version
  - 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
  - npx yarn

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
  # - npm run test-electron-renderer

build_script:
- cmd: npm run make:win

artifacts:
  - path: 'dist\installers\win32\Google Play Music Desktop PlayerSetup.exe'