--- version: '{branch}-{build}' skip_tags: true max_jobs: 1 image: Visual Studio 2015 init: - git config --global core.autocrlf input # Uncomment the following line to show RDP info at beginning of job # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) clone_folder: c:\projects\mixxx skip_commits: files: - doc/ - LICENCE - README - README.md - COPYING - CODE_OF_CONDUCT.md configuration: - release-fastbuild # - release # - debug environment: ENVIRONMENTS_URL: https://downloads.mixxx.org/builds/buildserver/2.2.x-windows/ ENVIRONMENTS_PATH: C:\mixxx-buildserver matrix: - platform: x64 distdir: dist64 - platform: x86 distdir: dist32 matrix: fast_finish: false # set this flag to true to immediately finish build once one of the jobs fails. cache: - C:\mixxx-buildserver install: - set /P ENVIRONMENT_NAME=&1" - timeout 5 > NUL - bash -c "stdbuf -oL -eL %distdir%/mixxx-test.exe --benchmark 2>&1" - timeout 5 > NUL after_test: - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test_results.xml)) artifacts: - path: '*.exe' - path: '*.msi' on_success: - echo "*** SUCCESS ***" on_failure: - echo "*** FAILURE ***" on_finish: # Uncomment the following line if you don't want the build VM to be destroyed # and be able to RDP on it until a special “lock” file on VM desktop is deleted # The RDP session is limited by overall build time (60 min). # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) - echo "*** DONE ***" deploy: - provider: Environment name: downloads.mixxx.org notifications: - provider: Webhook url: https://mixxx.zulipchat.com/api/v1/messages method: POST content_type: application/x-www-form-urlencoded headers: Authorization: secure: 95cbVBcC4rogjE5VNdhuYm8cnjPF8+7SeQXySqcxAqrFZxK+/Kcn3Q2hRb2iZfUEKZ+EdCYwx7EbpZdSiZc5goAuJT+/QXXT/Ls+fzc+eSy4Sz1Ic5t2BjLhmYZLdnBL3uIVceNSb8GzYPQx0+xy7g== on_build_success: true on_build_failure: true on_build_status_changed: true body: "type=stream&to=appveyor&subject={{projectName}} Build {{buildVersion}} {{status}}&content=Build {{buildVersion}} {{status}}{{#isPullRequest}} (PR #{{pullRequestId}}) {{/isPullRequest}}{{#failed}} :cross_mark:{{/failed}}{{#passed}} :check_mark:{{/passed}} {{buildUrl}}"