travis: deparallelize tasks within build to reduce flakes and improve logging

This commit is contained in:
Jarek Kowalski committed 2020-02-17 20:19:07 -08:00
1 parent 7f79c77d73
commit 35a7bb6038
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ before_install:
;;
esac
install: make travis-setup
script: make -j4 travis-release
script: make travis-release
cache:
directories:
- $HOME/.cache/electron
+3 -3
View File
@@ -93,7 +93,7 @@ endif
test-all: lint vet test-with-coverage
# goreleaser - builds binaries for all platforms
GORELEASER_OPTIONS=--rm-dist --skip-publish
GORELEASER_OPTIONS=--rm-dist --skip-publish --parallelism=6
ifneq ($(TRAVIS_PULL_REQUEST),false)
# not running on travis, or travis in PR mode, skip signing
@@ -106,7 +106,7 @@ ifeq ($(TRAVIS_TAG),)
endif
goreleaser: $(goreleaser)
$(goreleaser) $(GORELEASER_OPTIONS)
$(goreleaser) release $(GORELEASER_OPTIONS)
ifeq ($(TRAVIS_PULL_REQUEST),false)
@@ -115,7 +115,7 @@ upload-coverage: $(GOVERALLS_TOOL) test-with-coverage
else
upload-coverage:
uload-coverage:
@echo Not uploading coverage during PR build.
endif