Skip to content

Commit

Permalink
use circleci 2.0
Browse files Browse the repository at this point in the history
Achille Roussel committed Feb 17, 2018
1 parent e1f863a commit afab717
Showing 2 changed files with 23 additions and 30 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2
jobs:
build:
working_directory: /go/src/github.com/segmentio/kafka-go
docker:
- image: circleci/golang
- image: wurstmeister/zookeeper
ports: ['2181:2181']
- image: wurstmeister/kafka
ports: ['9092:9092']
environment:
KAFKA_VERSION: '0.11.0.1'
KAFKA_CREATE_TOPICS: 'test-writer-0:3:1,test-writer-1:3:1'
KAFKA_ADVERTISED_HOST_NAME: 'localhost'
KAFKA_ADVERTISED_PORT: '9092'
KAFKA_ZOOKEEPER_CONNECT: 'localhost:2181'
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
steps:
- checkout
- setup_remote_docker: { reusable: true, docker_layer_caching: true }
- run: go get -v -t ./...
- run: go vet ./...
- run: go test -v -race ./...
30 changes: 0 additions & 30 deletions circle.yml

This file was deleted.

0 comments on commit afab717

Please sign in to comment.