mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Add release tag to travis and Makefile
This commit is contained in:
parent
5ae04b6834
commit
ae01af045d
@ -29,7 +29,7 @@ install:
|
|||||||
- gox -build-toolchain -os "$GOX_OS"
|
- gox -build-toolchain -os "$GOX_OS"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- gox -verbose -os "${GOX_OS}" ./cmd/restic
|
- gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic
|
||||||
- go run run_tests.go all.cov
|
- go run run_tests.go all.cov
|
||||||
- GOARCH=386 go test ./...
|
- GOARCH=386 go test ./...
|
||||||
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
||||||
|
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ all: restic
|
|||||||
|
|
||||||
%: cmd/% .gopath $(SOURCE)
|
%: cmd/% .gopath $(SOURCE)
|
||||||
cd $(BASEPATH) && \
|
cd $(BASEPATH) && \
|
||||||
go build -a -ldflags "-s" -o $@ ./$<
|
go build -a -tags release -ldflags "-s" -o $@ ./$<
|
||||||
|
|
||||||
%.debug: cmd/% .gopath $(SOURCE)
|
%.debug: cmd/% .gopath $(SOURCE)
|
||||||
cd $(BASEPATH) && \
|
cd $(BASEPATH) && \
|
||||||
|
Loading…
Reference in New Issue
Block a user