Skip to content

add circle jobs to test installation with go get #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
version: 2
jobs:
test-install-golang-prev:
docker:
- image: circleci/golang:1.10
working_directory: /go/src/github.com/segmentio/chamber
steps:
- checkout
- run:
name: 'Test install golang (previous release)'
command: |
go get -v . && chamber version

test-install-golang-current:
docker:
- image: circleci/golang:1.11
working_directory: /go/src/github.com/segmentio/chamber
steps:
- checkout
- run:
name: 'Test go get install on current golang release'
command: |
go get -v . && chamber version

# only need this job until 1.13 is released
test-install-golang-1.11-GOMODULE-on:
docker:
- image: circleci/golang:1.11
working_directory: /go/src/github.com/segmentio/chamber
steps:
- checkout
- run:
name: 'Test go get install on golang 1.11 GO111MODULE=on'
command: |
GO111MODULE=on go get -v . && chamber version

test:
docker:
- image: circleci/golang:1.10
Expand Down Expand Up @@ -56,6 +90,9 @@ workflows:
test-dist-publish:
jobs:
- test
- test-install-golang-prev
- test-install-golang-current
- test-install-golang-1.11-GOMODULE-on
- dist:
# needed to ensure dist happens on tag events
filters:
Expand Down