clean up config.yml and decrease number of parallel processes in build

This commit is contained in:
Megan Marsh 2018-11-19 15:44:09 -08:00
parent 06c2c35e4c
commit f51707630d
2 changed files with 2 additions and 14 deletions

View File

@ -5,20 +5,8 @@ version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.11
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/hashicorp/packer
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: pwd
- run: make ci

View File

@ -23,7 +23,7 @@ export GOLDFLAGS
.PHONY: bin checkversion ci default deps fmt fmt-docs fmt-examples generate releasebin test testacc testrace updatedeps
default: deps generate testrace dev releasebin package dev fmt fmt-check mode-check fmt-docs fmt-examples
default: deps generate testrace dev releasebin package dev fmt fmt-check mode-check fmt-docs fmt-examples
ci: testrace
@ -110,7 +110,7 @@ testacc: deps generate ## Run acceptance tests
PACKER_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout=45m
testrace: fmt-check mode-check vet ## Test with race detection enabled
@go test -race $(TEST) $(TESTARGS) -timeout=2m
@go test -race $(TEST) $(TESTARGS) -timeout=2m -p=8
updatedeps:
@echo "INFO: Packer deps are managed by govendor. See .github/CONTRIBUTING.md"