Skip to content

Commit

Permalink
added circle build
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed May 22, 2018
1 parent 6abb7c8 commit eb31184
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 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.10

working_directory: /go/src/github.com/warren-veerasingam/terraform-switcher

steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: go get -v -t -d ./...
- run: go vet -tests=false ./...
- run: go test -v ./...
- run: mkdir -p build
- run: go build -v -o build/tfswitch

- persist_to_workspace:
root: build
paths: tfswitch

0 comments on commit eb31184

Please sign in to comment.