summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Scarr <adam@vektah.net>2017-08-08 23:29:00 +1000
committerAdam Scarr <adam@vektah.net>2017-08-08 23:45:39 +1000
commitb62ae2f567231357d4d80a3a222d084f650793de (patch)
treebe25d2a68cf389e954d0a5e0a706a15d695cd5cb
parentacd48fdfa4653dbeffd41f6b773ae4552e6c55bc (diff)
Add CircleCI
-rw-r--r--.circleci/config.yml11
-rw-r--r--.gitignore1
-rw-r--r--Gopkg.lock33
-rw-r--r--Gopkg.toml7
-rw-r--r--readme.md4
5 files changed, 54 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..7b7c3d5
--- /dev/null
+++ b/.circleci/config.yml
@@ -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 ./...
diff --git a/.gitignore b/.gitignore
index 557e1d0..321d49b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
*.exe
cpu.out
mem.out
+/vendor
diff --git a/Gopkg.lock b/Gopkg.lock
new file mode 100644
index 0000000..573ca3b
--- /dev/null
+++ b/Gopkg.lock
@@ -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
diff --git a/Gopkg.toml b/Gopkg.toml
new file mode 100644
index 0000000..222c747
--- /dev/null
+++ b/Gopkg.toml
@@ -0,0 +1,7 @@
+[[constraint]]
+ branch = "master"
+ name = "github.com/prataprc/goparsec"
+
+[[constraint]]
+ name = "github.com/stretchr/testify"
+ version = "1.1.4"
diff --git a/readme.md b/readme.md
index 30b2da5..8ad6097 100644
--- a/readme.md
+++ b/readme.md
@@ -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