Skip to content

Commit fd91186

Browse files
committed
travis: used own retry script, since travis_retry does not work in makefile
1 parent 007890e commit fd91186

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ html-ui-bindata: html-ui $(go_bindata)
6969
html-ui-bindata-fallback: $(go_bindata)
7070
(cd internal/server && $(go_bindata) -fs -tags !embedhtml -o "$(CURDIR)/internal/server/htmlui_fallback.go" -pkg server index.html)
7171

72-
kopia-ui: goreleaser
72+
kopia-ui:
7373
$(MAKE) -C app build-electron
7474

7575
travis-release:
76-
$(retry) $(MAKE) goreleaser kopia-ui
76+
$(retry) $(MAKE) goreleaser
77+
$(retry) $(MAKE) kopia-ui
7778
$(MAKE) lint vet test-with-coverage html-ui-tests
7879
$(retry) $(MAKE) integration-tests
7980
ifeq ($(TRAVIS_OS_NAME),linux)

tools/retry.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh -e
12
for attempt in 1 2 3; do
23
echo "+ $@ (attempt $attempt)"
34
if "$@"; then

0 commit comments

Comments
 (0)