Merge pull request #7025 from hashicorp/circleci-test

Circleci test
This commit is contained in:
Megan Marsh 2018-11-19 16:25:42 -08:00 committed by GitHub
commit fbde30c8c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 14 deletions

View File

@ -5,20 +5,8 @@ version: 2
jobs: jobs:
build: build:
docker: docker:
# specify the version
- image: circleci/golang:1.11 - 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 working_directory: /go/src/github.com/hashicorp/packer
steps: steps:
- checkout - checkout
# specify any bash command here prefixed with `run: `
- run: pwd
- run: make ci - run: make ci

View File

@ -110,7 +110,7 @@ testacc: deps generate ## Run acceptance tests
PACKER_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout=45m PACKER_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout=45m
testrace: fmt-check mode-check vet ## Test with race detection enabled 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: updatedeps:
@echo "INFO: Packer deps are managed by govendor. See .github/CONTRIBUTING.md" @echo "INFO: Packer deps are managed by govendor. See .github/CONTRIBUTING.md"