-
Notifications
You must be signed in to change notification settings - Fork 67
/
appveyor.yml
55 lines (46 loc) · 1.24 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml
version: "2.0.0.{build}"
# Source Config
platform: x64
branches:
only:
- master
pull_requests:
do_not_increment_build_number: true
clone_folder: c:\gopath\src\github.com\pecigonzalo\docker-machine-vmwareworkstation
clone_depth: 5
environment:
MSYSTEM: MINGW64
Msys: winsymlink:nativestrict
GOPATH: c:\gopath
Path: c:\go\bin;%GOPATH%\bin;C:\msys64\usr\local\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
init:
- ps: git config --global core.autocrlf input
install:
- pacman -Sy
- pacman -S --noconfirm --needed make wget curl
- mkdir -p %GOPATH%\bin
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- make clean
- make deps
before_build:
- go version
- go env
- ps: echo $env:Path
# Build
build_script:
- git rev-parse HEAD
- make vet test
- make build
test: off
# Deploy
artifacts:
- path: /bin/docker-machine-driver-vmwareworkstation.exe
deploy:
provider: GitHub
description: ' '
auth_token:
secure: QqxdbpN5rJhuQw42Iq4W6tdP1Lu4aw6y88QnHYC3tSQ9rzNuEI/q+qH4HGJ5WDpj
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only