Skip to content

Commit

Permalink
Merge pull request #27 from remind101/rb-upgrade-to-circleci-2
Browse files Browse the repository at this point in the history
upgrade to circleci 2
  • Loading branch information
russellballestrini authored May 29, 2019
2 parents 2c73e02 + f1da9a9 commit 91ff2a4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 14 deletions.
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 2

defaults: &defaults
working_directory: /go/src/github.com/remind101/ssm-env
docker:
- image: circleci/golang:1.11.6
environment:
GO111MODULE: "on"

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

jobs:

test:
<< : *defaults
steps:
- checkout:
path: /go/src/github.com/remind101/ssm-env
- run:
command: make test
working_directory: /go/src/github.com/remind101/ssm-env

build:
<< : *defaults
steps:
- checkout:
path: /go/src/github.com/remind101/ssm-env
- run:
command: make bin/ssm-env
working_directory: /go/src/github.com/remind101/ssm-env
- store_artifacts:
path: /go/src/github.com/remind101/ssm-env/bin/ssm-env
destination: ssm-env
14 changes: 0 additions & 14 deletions circle.yml

This file was deleted.

0 comments on commit 91ff2a4

Please sign in to comment.