Skip to content

feat: support go module for 1.11 #5087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@ pipeline:
when:
event: [ push, tag, pull_request ]

build-with-go-module:
image: golang:1.11
pull: true
environment:
- TAGS="bindata sqlite"
- GO111MODULE=on
commands:
- make clean
- make generate
- make build
when:
event: [ push, tag, pull_request ]

test:
image: golang:1.11
pull: true
Expand Down
105 changes: 105 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
module code.gitea.io/gitea

require (
code.gitea.io/git v0.0.0-20180708113827-6ef79e80b3b0
code.gitea.io/sdk v0.0.0-20180823143209-021567c9c12f
github.com/PuerkitoBio/goquery v0.0.0-20170324135448-ed7d758e9a34
github.com/RoaringBitmap/roaring v0.4.7
github.com/Smerity/govarint v0.0.0-20150407073650-7265e41f48f1
github.com/Unknwon/cae v0.0.0-20160715032808-c6aac99ea2ca
github.com/Unknwon/com v0.0.0-20170819223952-7677a1d7c113
github.com/Unknwon/i18n v0.0.0-20171114194641-b64d33658966
github.com/Unknwon/paginater v0.0.0-20151104151617-7748a72e0141
github.com/andybalholm/cascadia v0.0.0-20161224141413-349dd0209470
github.com/blevesearch/bleve v0.0.0-20180201182006-ff210fbc6d34
github.com/blevesearch/go-porterstemmer v0.0.0-20141230013033-23a2c8e5cf1f
github.com/blevesearch/segment v0.0.0-20160105220820-db70c57796cc
github.com/boltdb/bolt v1.3.1 // indirect
github.com/boombuler/barcode v0.0.0-20161226211916-fe0f26ff6d26
github.com/bradfitz/gomemcache v0.0.0-20160117192205-fb1f79c6b65a
github.com/chaseadamsio/goorgeous v0.0.0-20170901132237-098da33fde5f
github.com/couchbase/vellum v0.0.0-20180427141700-eb6ae3743b3f
github.com/davecgh/go-spew v1.1.0
github.com/denisenkom/go-mssqldb v0.0.0-20161128230840-e32ca5036449
github.com/dgrijalva/jwt-go v0.0.0-20161101193935-9ed569b5d1ac
github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712
github.com/elazarl/go-bindata-assetfs v0.0.0-20151224045452-57eb5e1fc594
github.com/ethantkoenig/rupture v0.0.0-20180203182544-0a76f03a811a
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a
github.com/facebookgo/grace v0.0.0-20160926231715-5729e484473f
github.com/facebookgo/httpdown v0.0.0-20160323221027-a3b1354551a2
github.com/facebookgo/stats v0.0.0-20151006221625-1b76add642e4
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd
github.com/go-macaron/bindata v0.0.0-20161222093048-85786f57eee3
github.com/go-macaron/binding v0.0.0-20160711225916-9440f336b443
github.com/go-macaron/cache v0.0.0-20151013081102-561735312776
github.com/go-macaron/captcha v0.0.0-20151123225153-8aa5919789ab
github.com/go-macaron/csrf v0.0.0-20180426211211-503617c6b372
github.com/go-macaron/gzip v0.0.0-20160222043647-cad1c6580a07
github.com/go-macaron/i18n v0.0.0-20160612092837-ef57533c3b0f
github.com/go-macaron/inject v0.0.0-20160627170012-d8a0b8677191
github.com/go-macaron/session v0.0.0-20151014034101-66031fcb37a0
github.com/go-macaron/toolbox v0.0.0-20180818072302-a77f45a7ce90
github.com/go-sql-driver/mysql v1.4.0
github.com/go-xorm/builder v0.3.0
github.com/go-xorm/core v0.6.0
github.com/go-xorm/xorm v0.0.0-20180711005900-ad69f7d8f086
github.com/gogits/chardet v0.0.0-20150115103509-2404f7772561
github.com/gogits/cron v0.0.0-20160810035002-7f3990acf183
github.com/golang/protobuf v0.0.0-20160314014334-99511271042a
github.com/golang/snappy v0.0.0-20160304054822-5f1c01d9f64b
github.com/gorilla/context v1.1.1
github.com/gorilla/mux v1.6.2
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.1.1
github.com/issue9/identicon v0.0.0-20160320065130-d36b54562f4c
github.com/jaytaylor/html2text v0.0.0-20160923191438-8fb95d837f7d
github.com/kballard/go-shellquote v0.0.0-20170619183022-cd60e84ee657
github.com/keybase/go-crypto v0.0.0-20170605145657-00ac4db533f6
github.com/klauspost/compress v0.0.0-20161025140425-8df558b6cb6f
github.com/klauspost/cpuid v0.0.0-20160302075316-09cded8978dc
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6
github.com/lafriks/xormstore v1.0.0
github.com/lib/pq v0.0.0-20171019223007-456514e2defe
github.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96
github.com/markbates/goth v1.46.1
github.com/mattn/go-sqlite3 v0.0.0-20170705082524-acfa60124032
github.com/mcuadros/go-version v0.0.0-20171003094716-88e56e02bea1
github.com/microcosm-cc/bluemonday v0.0.0-20161012083705-f77f16ffc87a
github.com/mrjones/oauth v0.0.0-20180629183705-f4e24b6d100c
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae
github.com/msteinert/pam v0.0.0-20151204160544-02ccfbfaf0cc
github.com/nfnt/resize v0.0.0-20160724205520-891127d8d1b5
github.com/philhofer/fwd v1.0.0
github.com/pmezard/go-difflib v1.0.0
github.com/pquerna/otp v0.0.0-20160912161815-54653902c20e
github.com/russross/blackfriday v0.0.0-20180428102519-11635eb403ff
github.com/satori/go.uuid v0.0.0-20160927100844-b061729afc07
github.com/sergi/go-diff v0.0.0-20161102184045-552b4e9bbdca
github.com/shurcooL/sanitized_anchor_name v0.0.0-20160918041101-1dba4b3954bc
github.com/steveyen/gtreap v0.0.0-20150807155958-0abe01ef9be2
github.com/stretchr/testify v1.2.1
github.com/tinylib/msgp v0.0.0-20180516164116-c8cf64dff200
github.com/tstranex/u2f v1.0.0
github.com/urfave/cli v0.0.0-20161102131801-d86a009f5e13
github.com/willf/bitset v0.0.0-20180426185212-8ce1146b8621
github.com/yohcop/openid-go v0.0.0-20160914080427-2c050d2dae53
golang.org/x/crypto v0.0.0-20180426225413-12dd70caea02
golang.org/x/net v0.0.0-20180706051357-32a936f46389
golang.org/x/oauth2 v0.0.0-20180620175406-ef147856a6dd
golang.org/x/sync v0.0.0-20170317231601-5a06fca2c336
golang.org/x/sys v0.0.0-20160717071931-a646d33e2ee3
golang.org/x/text v0.0.0-20170630100924-2bf8f2a19ec0
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc
gopkg.in/asn1-ber.v1 v1.0.0-20150924051756-4e86f4367175
gopkg.in/bufio.v1 v1.0.0-20140618132640-567b2bfa514e
gopkg.in/editorconfig/editorconfig-core-go.v1 v1.2.0
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
gopkg.in/ini.v1 v1.31.1
gopkg.in/ldap.v2 v2.4.1
gopkg.in/macaron.v1 v1.2.4
gopkg.in/redis.v2 v2.3.2
gopkg.in/testfixtures.v2 v2.5.0
gopkg.in/yaml.v2 v2.0.0-20160928153709-a5b47d31c556
strk.kbt.io/projects/go/libravatar v0.0.0-20160628055650-5eed7bff870a
)
Loading