github.com/inteleradmedicalsystems/go-codecommit@v0.1.0/.circleci/config.yml (about) 1 # Golang CircleCI 2.0 configuration file 2 # 3 # Check https://circleci.com/docs/2.0/language-go/ for more details 4 version: 2 5 jobs: 6 build: 7 docker: 8 # specify the version 9 - image: circleci/golang:1.12 10 11 # Specify service dependencies here if necessary 12 # CircleCI maintains a library of pre-built images 13 # documented at https://circleci.com/docs/2.0/circleci-images/ 14 # - image: circleci/postgres:9.4 15 16 #### TEMPLATE_NOTE: go expects specific checkout path representing url 17 #### expecting it in the form of 18 #### /go/src/github.com/circleci/go-tool 19 #### /go/src/bitbucket.org/circleci/go-tool 20 working_directory: /go/src/github.com/bashims/go-codecommit 21 steps: 22 - checkout 23 24 # specify any bash command here prefixed with `run: ` 25 - run: git config --global user.email go-codecommit@cci.com 26 - run: git config --global user.name go-codecommit-cci 27 - run: curl -f --location https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip -o /tmp/terraform.zip && unzip -o /tmp/terraform.zip -d $GOPATH/bin 28 - run: make build 29 - run: make test