Skip to content

Commit

Permalink
Copy CircleCI config from hcl2 branch
Browse files Browse the repository at this point in the history
Attempting to fix missing builds from the hcl2 branch. I believe that
CircleCI requires the config to be present on the default branch (i.e.
master for this repo).
  • Loading branch information
alisdair committed Apr 15, 2020
1 parent 914dc3f commit f14247b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2.1
jobs:
build:
branches:
only:
- master
- hcl2
docker:
- image: circleci/golang:1.12
environment:
GO111MODULE: "on"
GOPROXY: "https://proxy.golang.org"
steps:
- checkout
- restore_cache:
keys:
- v1-mod-cache
- run:
name: "Tests"
command: |
go test ./...
- save_cache:
key: v1-mod-cache
paths:
- "/go/pkg/mod"

0 comments on commit f14247b

Please sign in to comment.