forked from OctopusDeploy/go-octopusdeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (28 loc) · 1.21 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: 0.0.1-alpha.{build}
skip_tags: true
skip_commits:
files:
- '**/*.md' # skip documentation
- '**/.tf' # skip terraform
image: Visual Studio 2017
build: off
clone_folder: c:\gopath\src\github.com\OctopusDeploy\go-octopusdeploy
services:
- mssql2017
environment:
GOPATH: c:\gopath
TEST_OCTOPUS_USERNAME: Administrator
TEST_OCTOPUS_PASSWORD: Password1! # This password is for the Octopus Deploy server spun up in Appveyor.
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- go version
before_test:
# Octopus install needs to occur here as mssql doesn't start before the install step
- ps: >-
. ".\integration\appveyor_scripts\functions\Install-OctopusDeployInAppveyor.ps1" ;
. ".\integration\appveyor_scripts\functions\Start-ProcessAdvanced.ps1" ;
Install-OctopusDeployInAppveyor -OctopusAdministartorUser $env:TEST_OCTOPUS_USERNAME -OctopusAdministartorPassword $env:TEST_OCTOPUS_PASSWORD
- ps: Invoke-Expression ".\integration\appveyor_scripts\start_go_integration_tests.ps1"
# Uncomment to debug the build
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))