mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-18 09:02:30 +02:00
build: update travis to build against go 1.13
In this commit, we update Travis to start building against the newly released go 1.13. Additionally, we'll now utilize the new `trimpath` to the `go build` and `go install` commands. This new flag serves to remove all file system paths from the compiled Go executable, which will make our binaries more reproducible.
This commit is contained in:
@ -9,7 +9,7 @@ cache:
|
|||||||
- $GOPATH/src/gopkg.in/alecthomas
|
- $GOPATH/src/gopkg.in/alecthomas
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.12.x"
|
- "1.13.x"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
4
Makefile
4
Makefile
@ -32,8 +32,8 @@ BTCD_COMMIT := $(shell cat go.mod | \
|
|||||||
|
|
||||||
GOACC_COMMIT := ddc355013f90fea78d83d3a6c71f1d37ac07ecd5
|
GOACC_COMMIT := ddc355013f90fea78d83d3a6c71f1d37ac07ecd5
|
||||||
|
|
||||||
GOBUILD := GO111MODULE=on go build -v
|
GOBUILD := GO111MODULE=on go build -v -trimpath
|
||||||
GOINSTALL := GO111MODULE=on go install -v
|
GOINSTALL := GO111MODULE=on go install -v -trimpath
|
||||||
GOTEST := GO111MODULE=on go test -v
|
GOTEST := GO111MODULE=on go test -v
|
||||||
|
|
||||||
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
|
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
|
||||||
|
2
go.mod
2
go.mod
@ -50,3 +50,5 @@ replace github.com/lightningnetwork/lnd/ticker => ./ticker
|
|||||||
replace github.com/lightningnetwork/lnd/queue => ./queue
|
replace github.com/lightningnetwork/lnd/queue => ./queue
|
||||||
|
|
||||||
replace git.schwanenlied.me/yawning/bsaes.git => github.com/Yawning/bsaes v0.0.0-20180720073208-c0276d75487e
|
replace git.schwanenlied.me/yawning/bsaes.git => github.com/Yawning/bsaes v0.0.0-20180720073208-c0276d75487e
|
||||||
|
|
||||||
|
go 1.13
|
||||||
|
Reference in New Issue
Block a user