forked from TrueCloudLab/restic
Add release tag to travis and Makefile
This commit is contained in:
parent
5ae04b6834
commit
ae01af045d
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ install:
|
|||
- gox -build-toolchain -os "$GOX_OS"
|
||||
|
||||
script:
|
||||
- gox -verbose -os "${GOX_OS}" ./cmd/restic
|
||||
- gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic
|
||||
- go run run_tests.go all.cov
|
||||
- GOARCH=386 go test ./...
|
||||
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
||||
|
|
2
Makefile
2
Makefile
|
@ -26,7 +26,7 @@ all: restic
|
|||
|
||||
%: cmd/% .gopath $(SOURCE)
|
||||
cd $(BASEPATH) && \
|
||||
go build -a -ldflags "-s" -o $@ ./$<
|
||||
go build -a -tags release -ldflags "-s" -o $@ ./$<
|
||||
|
||||
%.debug: cmd/% .gopath $(SOURCE)
|
||||
cd $(BASEPATH) && \
|
||||
|
|
Loading…
Reference in a new issue