2017-09-23 02:51:59 +02:00
|
|
|
version: 1.0.{build}
|
2017-10-31 23:38:51 +01:00
|
|
|
image: Visual Studio 2017
|
2017-09-23 02:51:59 +02:00
|
|
|
configuration: Release
|
|
|
|
platform: x64
|
|
|
|
clone_folder: '%USERPROFILE%\go\src\github.com\pulumi\pulumi'
|
2017-12-19 20:38:40 +01:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-02-09 20:54:41 +01:00
|
|
|
- /release\/.*/
|
2017-09-23 02:51:59 +02:00
|
|
|
init:
|
2018-04-19 22:44:47 +02:00
|
|
|
- ps: Install-Product node 8.10 x64
|
2017-09-23 02:51:59 +02:00
|
|
|
environment:
|
2018-04-03 06:34:54 +02:00
|
|
|
PULUMI_API: https://api.pulumi-staging.io
|
|
|
|
PULUMI_ACCESS_TOKEN:
|
|
|
|
secure: +c7s1GgUunQl8QlLZs7zafFv6lJbZp40fx1kJl7v+n0qa8oq3ssBlVEl9gfoMBgH
|
2017-09-23 02:51:59 +02:00
|
|
|
AWS_ACCESS_KEY_ID:
|
|
|
|
secure: eB7Gfl1GHhz60tH2EEASI7IFsWHDd5SV+kponXwaCSo=
|
|
|
|
AWS_SECRET_ACCESS_KEY:
|
|
|
|
secure: T19RJk7Uv3trAChRRDB82OAUDI8k2q9PaSetU7yDFu4aC+MshdwAhTTN/TaPkwl/
|
|
|
|
install:
|
|
|
|
- cmd: >-
|
|
|
|
set GOPATH=%USERPROFILE%\go
|
|
|
|
|
2018-08-30 01:39:17 +02:00
|
|
|
set GOROOT=C:\go19
|
|
|
|
|
|
|
|
set PATH=C:\go19\bin;%PATH%;%GOPATH%\bin
|
2017-09-23 02:51:59 +02:00
|
|
|
|
2018-02-16 01:17:47 +01:00
|
|
|
set PulumiRoot=C:\Pulumi
|
|
|
|
|
|
|
|
set PATH=%PulumiRoot%\bin;%PATH%
|
2017-09-23 02:51:59 +02:00
|
|
|
|
|
|
|
go version
|
|
|
|
|
2018-06-18 06:42:23 +02:00
|
|
|
git clone https://github.com/pulumi/scripts.git "%USERPROFILE%\go\src\github.com\pulumi\scripts"
|
2018-07-30 02:23:37 +02:00
|
|
|
- ps: >-
|
|
|
|
New-Item -Type Directory "$env:USERPROFILE\go\bin"
|
|
|
|
|
|
|
|
Invoke-WebRequest -Uri https://github.com/golang/dep/releases/download/v0.4.1/dep-windows-amd64.exe -OutFile "$env:USERPROFILE\go\bin\dep.exe"
|
2017-09-23 02:51:59 +02:00
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
if defined APPVEYOR_PULL_REQUEST_NUMBER ( msbuild /t:AppVeyorPullRequest /v:Detailed build.proj ) else ( msbuild /t:AppVeyorPush /v:Detailed build.proj )
|
|
|
|
test: off
|