Skip to content

Commit

Permalink
default circle ci config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkolasg committed Nov 1, 2018
1 parent 6fd1533 commit 906e409
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions .circleci/config.yml
@@ -1,17 +1,26 @@
# 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:latest

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4

build:

working_directory: /go/src/github.com/ConsenSys/handel

docker:
- image: circleci/golang:latest

steps:
- checkout
- run:
name: "Testing Handel"
command: go test -v ./...
#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: go get -v -t -d ./...
- run: go test -v ./...

0 comments on commit 906e409

Please sign in to comment.