From 12c251751f1da9e73970ee3fbf689def5108a28d Mon Sep 17 00:00:00 2001 From: Caleb Jones Date: Fri, 30 Dec 2016 14:14:48 -0500 Subject: [PATCH] Add Travis CI and badges to the README --- .travis.yml | 8 ++++++++ Cargo.toml | 1 + README.md | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8c91a74 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: rust +rust: + - stable + - beta + - nightly +matrix: + allow_failures: + - rust: nightly diff --git a/Cargo.toml b/Cargo.toml index 47d05ab..c424538 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ version = "0.3.1" authors = ["Caleb Jones "] description = "An s-expression parser targeted at language implementation." repository = "https://github.com/porglezomp/ess" +documentation = "https://docs.rs/ess" readme = "README.md" keywords = ["s-expression", "sexp", "s-exp", "parser"] license = "Zlib" diff --git a/README.md b/README.md index 53aeda3..782f8a5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,15 @@ # Ess +[![Crates.io current version badge](https://img.shields.io/crates/v/ess.svg)][crates.io] +[![Documentation badge](https://docs.rs/ess/badge.svg)][docs] +[![License: Zlib](https://img.shields.io/badge/License-Zlib-lightgrey.svg)][zlib] +[![Build status badge](https://travis-ci.org/porglezomp/ess.svg?branch=master)][travis-ci] + + Ess is a work-in-progress s-expression parser targeted at language implementation. In particular, it provides source locations for all parsed expressions. + +[docs]: https://docs.rs/ess +[crates.io]: https://crates.io/crates/ess +[zlib]: https://opensource.org/licenses/Zlib +[travis-ci]: https://travis-ci.org/porglezomp/ess -- 2.47.0