2018-12-07 03:19:58 +00:00
|
|
|
version: 1.0.{build}
|
2018-12-09 03:08:36 +00:00
|
|
|
image:
|
2018-12-07 03:19:58 +00:00
|
|
|
- Visual Studio 2017
|
|
|
|
- Ubuntu
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- ARCH: amd64
|
2018-12-09 03:08:36 +00:00
|
|
|
- ARCH: arm
|
2018-12-07 03:19:58 +00:00
|
|
|
- ARCH: arm64
|
|
|
|
- ARCH: ppc64le
|
|
|
|
- ARCH: s390x
|
|
|
|
DOCKER_USER:
|
|
|
|
secure: JapmC7j5F0mY3j/MVzU+Cw==
|
|
|
|
DOCKER_PASS:
|
|
|
|
secure: QGlCLNWzPD0HL8ipkohVic45/yU3bVOdjn0IiV6NnSQ=
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- image: Visual Studio 2017
|
|
|
|
ARCH: arm
|
|
|
|
- image: Visual Studio 2017
|
|
|
|
ARCH: arm64
|
|
|
|
- image: Visual Studio 2017
|
|
|
|
ARCH: ppc64le
|
|
|
|
- image: Visual Studio 2017
|
|
|
|
ARCH: s390x
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- master
|
2018-12-09 03:08:36 +00:00
|
|
|
stack:
|
2018-12-07 03:19:58 +00:00
|
|
|
- node 9, go 1.10
|
|
|
|
install:
|
|
|
|
- yarn install
|
|
|
|
- npm install -g rebase-docker-image
|
|
|
|
init:
|
|
|
|
- sh: export IMAGE=linux
|
|
|
|
- cmd: SET IMAGE=windows
|
|
|
|
- ps: >-
|
|
|
|
if (!(Test-Path ~/.docker)) { mkdir ~/.docker };
|
|
|
|
Set-Content -Value '{ "experimental": "enabled" }' -Path ~/.docker/config.json -Encoding Ascii
|
|
|
|
build_script:
|
2018-12-09 03:08:36 +00:00
|
|
|
- sh: yarn grunt appveyorbuild:$IMAGE:$ARCH
|
|
|
|
- cmd: yarn grunt appveyorbuild:%IMAGE%:%ARCH%
|
2018-12-07 03:19:58 +00:00
|
|
|
- sh: sudo bash build/ci-linux.sh $IMAGE $ARCH $DOCKER_USER $DOCKER_PASS $APPVEYOR_REPO_BRANCH $APPVEYOR_PULL_REQUEST_NUMBER
|
2018-12-09 03:08:36 +00:00
|
|
|
- cmd: powershell -Command "& .\\build\\ci-windows.ps1"
|