2
2
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:
Alexander Neumann 2015-06-21 17:15:15 +02:00
parent 5ae04b6834
commit ae01af045d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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) && \