Skip to content

Commit f45f2b7

Browse files
committed
add appveyor.yml (pkg#36)
1 parent b700c3e commit f45f2b7

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# errors [![Travis-CI](https://travis-ci.org/pkg/errors.svg)](https://travis-ci.org/pkg/errors) [![GoDoc](https://godoc.org/github.com/pkg/errors?status.svg)](http://godoc.org/github.com/pkg/errors) [![Report card](https://goreportcard.com/badge/github.com/pkg/errors)](https://goreportcard.com/report/github.com/pkg/errors)
1+
# errors [![Travis-CI](https://travis-ci.org/pkg/errors.svg)](https://travis-ci.org/pkg/errors) [![AppVeyor](https://ci.appveyor.com/api/projects/status/b98mptawhudj53ep/branch/master?svg=true)](https://ci.appveyor.com/project/davecheney/errors/branch/master) [![GoDoc](https://godoc.org/github.com/pkg/errors?status.svg)](http://godoc.org/github.com/pkg/errors) [![Report card](https://goreportcard.com/badge/github.com/pkg/errors)](https://goreportcard.com/report/github.com/pkg/errors)
22

33
Package errors provides simple error handling primitives.
44

appveyor.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: build-{build}.{branch}
2+
3+
clone_folder: C:\gopath\src\github.com\pkg\errors
4+
shallow_clone: true # for startup speed
5+
6+
environment:
7+
GOPATH: C:\gopath
8+
9+
platform:
10+
- x64
11+
12+
# http://www.appveyor.com/docs/installed-software
13+
install:
14+
# some helpful output for debugging builds
15+
- go version
16+
- go env
17+
# pre-installed MinGW at C:\MinGW is 32bit only
18+
# but MSYS2 at C:\msys64 has mingw64
19+
- set PATH=C:\msys64\mingw64\bin;%PATH%
20+
- gcc --version
21+
- g++ --version
22+
23+
build_script:
24+
- go install -v ./...
25+
26+
test_script:
27+
- set PATH=C:\gopath\bin;%PATH%
28+
- go test -v ./...
29+
30+
#artifacts:
31+
# - path: '%GOPATH%\bin\*.exe'
32+
deploy: off

0 commit comments

Comments
 (0)