servo/appveyor.yml
author Corey Farwell <coreyf@rwell.org>
Mon, 11 Apr 2016 20:07:01 +0500
changeset 476642 0b7a4788dea932a5e7f1c8829088afbabced7ec3
parent 476598 b8c47b11e421a18b26593c1d2c6f10e95847d9e8
child 476654 48d67a2d0e7ef082ce3c856972f607f6291b4127
permissions -rw-r--r--
servo: Merge #10513 - Extract out 'is the html body element' CSSOM concept (from frewsxcv:is_the_html_body_element); r=Ms2ger Source-Repo: https://github.com/servo/servo Source-Revision: f9f3b7529ba2c66b6203b0742c4cd89d03ddd772

version: 1.0.{build}

environment:
  PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
  MSYSTEM: 'MSYS'
  MSYS: 'winsymlinks=lnk'

branches:
  only:
    - master
    - auto
    - try

platform:
  - x64

cache:
  - .servo
  - .cargo

install:
    # Check if commit in auto branch exists in master, if exists build will be canceled.
  - cmd: >-
      for /f %%i in ('git branch -r origin/master --contain %APPVEYOR_REPO_COMMIT%') do set git_status=%%i

      IF %APPVEYOR_REPO_BRANCH%==auto (IF [%git_status%]==[origin/master] EXIT -1)
  - bash -lc "echo $MSYSTEM; pacman --needed --noconfirm -Sy pacman-mirrors"
  - bash -lc "pacman --noconfirm -Sy"
  - bash -lc "pacman -Sy --needed --noconfirm git mingw-w64-x86_64-toolchain mingw-w64-x86_64-freetype mingw-w64-x86_64-icu mingw-w64-x86_64-nspr mingw-w64-x86_64-ca-certificates mingw-w64-x86_64-expat mingw-w64-x86_64-cmake tar diffutils patch patchutils make python2-setuptools"
  - bash -lc "easy_install-2.7 pip virtualenv"
  - bash -lc "mv /mingw64/bin/python2.exe /mingw64/bin/python2-mingw64.exe"
  - bash -lc "mv /mingw64/bin/python2.7.exe /mingw64/bin/python2.7-mingw64.exe"

# Uncomment these lines to expose RDP access information to the build machine in the build log.
#init:
#  - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#
#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

build_script:
  - cmd: >-
      set MSYSTEM=MINGW64

      bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./mach build -d -v && ./mach test-unit"

test: off