Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Migrate to go mod #134

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,27 @@ pipeline:
test-general:
image: webhippie/golang:edge
pull: true
environment:
- GO111MODULE=on
commands:
- make clean
- make vet
- make lint
- make build
- go mod vendor #Used as a cache across pipeline (could be improve by caching go env GOCACHE across pipeline)
testing-git-latest:
image: webhippie/golang:edge
pull: true
environment:
- GO111MODULE=on
commands:
- git update-ref refs/heads/test HEAD
- git --version && make test
testing-git-1.7:
image: docker.kbt.io/gitea-git-ci:1.7
pull: true
environment:
- GO111MODULE=on
commands:
- git update-ref refs/heads/test HEAD
- PATH=/opt/git-1.7.2/bin git --version && make test
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ coverage.out

benchmark/
tests/repos/repo1/

vendor/
261 changes: 0 additions & 261 deletions Gopkg.lock

This file was deleted.

38 changes: 0 additions & 38 deletions Gopkg.toml

This file was deleted.

12 changes: 12 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module code.gitea.io/git

require (
github.com/Unknwon/com v0.0.0-20170819223952-7677a1d7c113
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
github.com/jtolds/gls v4.2.1+incompatible // indirect
github.com/mcuadros/go-version v0.0.0-20161105183618-257f7b9a7d87
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c // indirect
github.com/stretchr/testify v1.2.2
gopkg.in/src-d/go-git.v4 v4.8.1
)
Loading