Merge pull request #2 from DCSO/circleci
add CircleCI config
Robert Haist authored 5 years ago
GitHub committed 5 years ago
|
0 |
# Golang CircleCI 2.0 configuration file
|
|
1 |
#
|
|
2 |
# Check https://circleci.com/docs/2.0/language-go/ for more details
|
|
3 |
version: 2
|
|
4 |
jobs:
|
|
5 |
build:
|
|
6 |
docker:
|
|
7 |
- image: circleci/golang:1.10-stretch
|
|
8 |
|
|
9 |
working_directory: /go/src/github.com/DCSO/fluxline
|
|
10 |
steps:
|
|
11 |
- checkout
|
|
12 |
- run: go get -v -t -d ./...
|
|
13 |
- run: go test -v ./...
|
0 | |
# fluxline
|
|
0 |
# fluxline [![CircleCI](https://circleci.com/gh/DCSO/fluxline.svg?style=shield)](https://circleci.com/gh/DCSO/fluxline) [![Documentation](https://godoc.org/github.com/DCSO/fluxline?status.svg)](http://godoc.org/github.com/DCSO/fluxline)
|
1 | 1 |
|
2 | 2 |
Encoder for Golang to prepare sets of metrics in [InfluxDB's Line Protocol](https://docs.influxdata.com/influxdb/v1.4/write_protocols/line_protocol_reference) format. As input, we use structs annotated with the `influx` tag, similar to how `encoding/json` works.
|
3 | 3 |
|