2017-09-23 00:51:59 +00:00
|
|
|
version: 1.0.{build}
|
2017-10-31 22:38:51 +00:00
|
|
|
image: Visual Studio 2017
|
2017-09-23 00:51:59 +00:00
|
|
|
configuration: Release
|
|
|
|
platform: x64
|
|
|
|
clone_folder: '%USERPROFILE%\go\src\github.com\pulumi\pulumi'
|
2017-12-19 19:38:40 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-02-09 19:54:41 +00:00
|
|
|
- /release\/.*/
|
2017-09-23 00:51:59 +00:00
|
|
|
init:
|
2018-04-19 20:44:47 +00:00
|
|
|
- ps: Install-Product node 8.10 x64
|
2017-09-23 00:51:59 +00:00
|
|
|
environment:
|
2018-04-03 04:34:54 +00:00
|
|
|
PULUMI_API: https://api.pulumi-staging.io
|
|
|
|
PULUMI_ACCESS_TOKEN:
|
|
|
|
secure: +c7s1GgUunQl8QlLZs7zafFv6lJbZp40fx1kJl7v+n0qa8oq3ssBlVEl9gfoMBgH
|
2017-09-23 00:51:59 +00:00
|
|
|
AWS_ACCESS_KEY_ID:
|
|
|
|
secure: eB7Gfl1GHhz60tH2EEASI7IFsWHDd5SV+kponXwaCSo=
|
|
|
|
AWS_SECRET_ACCESS_KEY:
|
|
|
|
secure: T19RJk7Uv3trAChRRDB82OAUDI8k2q9PaSetU7yDFu4aC+MshdwAhTTN/TaPkwl/
|
|
|
|
install:
|
|
|
|
- cmd: >-
|
|
|
|
set GOPATH=%USERPROFILE%\go
|
|
|
|
|
2018-11-08 20:26:22 +00:00
|
|
|
set GOROOT=C:\go111
|
2018-08-29 23:39:17 +00:00
|
|
|
|
2018-11-08 20:26:22 +00:00
|
|
|
set PATH=C:\go111\bin;%PATH%;%GOPATH%\bin
|
2017-09-23 00:51:59 +00:00
|
|
|
|
2018-02-16 00:17:47 +00:00
|
|
|
set PulumiRoot=C:\Pulumi
|
|
|
|
|
|
|
|
set PATH=%PulumiRoot%\bin;%PATH%
|
2017-09-23 00:51:59 +00:00
|
|
|
|
|
|
|
go version
|
|
|
|
|
2018-06-18 04:42:23 +00:00
|
|
|
git clone https://github.com/pulumi/scripts.git "%USERPROFILE%\go\src\github.com\pulumi\scripts"
|
2018-07-30 00:23:37 +00: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 00:51:59 +00: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
|