diff options
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | appveyor.yml | 22 |
2 files changed, 24 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 0266676..e527225 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ go: - 1.8 - tip +go_import_path: gopkg.in/src-d/go-git.v4 + env: - GIT_VERSION=master - GIT_VERSION=v1.9.3 @@ -33,10 +35,6 @@ before_install: - git config --global user.name "Travis CI" install: - - rm -rf $GOPATH/src/gopkg.in/src-d - - mkdir -p $GOPATH/src/gopkg.in/src-d - - ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-git.v4 - - cd $GOPATH/src/gopkg.in/src-d/go-git.v4 - go get -v -t ./... script: diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..f36ebe7 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +version: "{build}" +platform: x64 + +matrix: + allow_failures: + - platform: x64 + +clone_folder: c:\gopath\src\gopkg.in\src-d\go-git.v4 + +environment: + GOPATH: c:\gopath + +install: + - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% + - go version + - go get -v -t ./... + + - git config --global user.email "travis@example.com" + - git config --global user.name "Travis CI + +build_script: + - go test -v ./... |