From 35a7bb603833736c110b2927be06dc4c885a754a Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Mon, 17 Feb 2020 19:16:56 -0800 Subject: [PATCH] travis: deparallelize tasks within build to reduce flakes and improve logging --- .travis.yml | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ece97d73e..c753f5978 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index cc48a54ea..899750f7a 100644 --- a/Makefile +++ b/Makefile @@ -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