aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2019-03-13 12:48:29 +0000
committerFelix Hanley <felix@userspace.com.au>2019-03-13 12:48:29 +0000
commit7d8cae41f7fdc61a0c13fc3e84ff51ad51088c36 (patch)
tree5edf73a062922df4c27724305becb9698cdc1192
parent92275b4ec9aa89a53fe878025d43ac77f3ac8980 (diff)
downloadlexer-7d8cae41f7fdc61a0c13fc3e84ff51ad51088c36.tar.gz
lexer-7d8cae41f7fdc61a0c13fc3e84ff51ad51088c36.tar.bz2
Add readme
-rw-r--r--.travis.yml8
-rw-r--r--README.md17
2 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6dba4a3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,8 @@
+language: go
+go:
+ - "1.x"
+ - master
+script:
+ - go test -race -coverprofile=coverage.txt -covermode=atomic
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
diff --git a/README.md b/README.md
index 3562dcf..2f07250 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,18 @@
+[![Build Status](https://travis-ci.org/felix/lexer.svg)](https://travis-ci.org/felix/lexer)
+[![GoDoc](https://godoc.org/github.com/felix/lexer?status.svg)](http://godoc.org/github.com/felix/lexer)
+[![Go Report Card](https://goreportcard.com/badge/github.com/felix/lexer)](https://goreportcard.com/report/github.com/felix/lexer)
+
# Generic Go lexer
+
+A very simple lexer.
+
+```go
+import "github.com/felix/lexer"
+```
+
+or
+
+```go
+import "src.userspace.com.au/felix/lexer"
+```
+