Skip to content

Commit 9ebcfdf

Browse files
author
Igor Komlew
authored
Fixed build process (#319)
* Fixed build process * test make install target on travis
1 parent c390b57 commit 9ebcfdf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- go mod vendor
1414
script:
1515
- make build
16+
- make install
1617
- make test
1718

1819
- stage: test

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ install-static:
5454
.PHONY: install
5555
install:
5656
$(info # Installing binaries into $(GOBIN))
57-
GOBIN=$(GOBIN) $(GO) install $(GOFLAGS) -ldflags "$(LDFLAGS) -w" -v ./...
58-
57+
GOBIN=$(GOBIN) $(GO) install $(GOFLAGS) -ldflags "$(LDFLAGS) -w" -v github.com/CanonicalLtd/serial-vault/cmd/serial-vault
58+
GOBIN=$(GOBIN) $(GO) install $(GOFLAGS) -ldflags "$(LDFLAGS) -w" -v github.com/CanonicalLtd/serial-vault/cmd/serial-vault-admin
59+
GOBIN=$(GOBIN) $(GO) install $(GOFLAGS) -ldflags "$(LDFLAGS) -w" -v github.com/CanonicalLtd/serial-vault/cmd/factory
60+
5961
.PHONY: build-static
6062
build-static:
6163
$(info # Building ${SERVICE_NAME} binaries)

0 commit comments

Comments
 (0)