Add CircleCI

This commit is contained in:
Adam Scarr 2017-08-08 23:29:00 +10:00
parent acd48fdfa4
commit b62ae2f567
5 changed files with 54 additions and 2 deletions

11
.circleci/config.yml Normal file
View File

@ -0,0 +1,11 @@
version: 2
jobs:
build:
docker:
- image: golang:1.9
working_directory: /go/src/github.com/vektah/goparsify
steps:
- checkout
- run: go get -u github.com/golang/dep/cmd/dep
- run: dep ensure --vendor-only
- run: go test -v ./...

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
*.exe
cpu.out
mem.out
/vendor

33
Gopkg.lock generated Normal file
View File

@ -0,0 +1,33 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "github.com/davecgh/go-spew"
packages = ["spew"]
revision = "346938d642f2ec3594ed81d874461961cd0faa76"
version = "v1.1.0"
[[projects]]
name = "github.com/pmezard/go-difflib"
packages = ["difflib"]
revision = "792786c7400a136282c1664665ae0a8db921c6c2"
version = "v1.0.0"
[[projects]]
branch = "master"
name = "github.com/prataprc/goparsec"
packages = [".","json"]
revision = "82de4f9400c22ea84314f99bec5034895ae5eed9"
[[projects]]
name = "github.com/stretchr/testify"
packages = ["assert","require"]
revision = "69483b4bd14f5845b5a1e55bca19e954e827f1d0"
version = "v1.1.4"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "87eecb782b0100538dd03417f0dbedf48e19dec675ac73fb728f06da94d5606d"
solver-name = "gps-cdcl"
solver-version = 1

7
Gopkg.toml Normal file
View File

@ -0,0 +1,7 @@
[[constraint]]
branch = "master"
name = "github.com/prataprc/goparsec"
[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"

View File

@ -1,4 +1,4 @@
goparsify
goparsify [![CircleCI](https://circleci.com/gh/Vektah/goparsify/tree/master.svg?style=shield)](https://circleci.com/gh/Vektah/goparsify/tree/master) [![godoc](http://b.repl.ca/v1/godoc-wip-lightgrey.png)](https://godoc.org/github.com/Vektah/goparsify)
=========
A parser-combinator library for building easy to test, read and maintain parsers using functional composition.
@ -148,4 +148,4 @@ Take a look at [calc](calc/calc.go) for a full example.
### prior art
Inspired by https://github.com/prataprc/goparsec but the interfaces have been cleaned up a lot.
Inspired by https://github.com/prataprc/goparsec