Browse Source

add appveyor

speter 7 years ago
parent
commit
8237a9a536
2 changed files with 21 additions and 0 deletions
  1. 19 0
      .appveyor/appveyor.yml
  2. 2 0
      .circleci/config.yml

+ 19 - 0
.appveyor/appveyor.yml

@@ -0,0 +1,19 @@
+version: '{branch}.{build}'
+branches:
+  only:
+  - master
+clone_folder: c:\gopath\src\gopkg.in\inf.v0
+environment:
+  GOPATH: c:\gopath
+install:
+- set Path=c:\go\bin;%Path%
+- echo %Path%
+- go version
+- go env
+build_script:
+- cd %APPVEYOR_BUILD_FOLDER%
+- go get -v -t ./...
+- go build -v ./...
+test_script:
+- cd %APPVEYOR_BUILD_FOLDER%
+- go test -v ./...

+ 2 - 0
.circleci/config.yml

@@ -4,6 +4,8 @@ test: &test
   working_directory: /go/src/gopkg.in/inf.v0
   steps:
     - checkout
+    - run: go version
+    - run: go env
     - run: go get -v -t ./...
     - run: go test -v ./...