Skip to content

Commit

Permalink
configure CircleCI for build+test
Browse files Browse the repository at this point in the history
Adds a .circleci/config.yml file that will be used to house the complex
workflows we want to use for automated functional e2e testing.

Issue aws#686
  • Loading branch information
jaypipes committed Dec 18, 2019
1 parent 79fcb86 commit b70ba3f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
jobs:
build:
docker:
- image: golang:1.12-stretch

working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
environment:
GO111MODULE: "on"
steps:
- checkout
- run: make build-linux
test:
docker:
- image: golang:1.12-stretch

working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
environment:
GO111MODULE: "on"
steps:
- checkout
- run: make unit-test

workflows:
version: 2
build-and-test:
jobs:
- build
- test

0 comments on commit b70ba3f

Please sign in to comment.