Finite state machines in rust; bendns fork to add types.
Add Travis CI badge
Yevhenii Babichenko 2019-04-29
parent c3443bb · commit 46ff7b1
-rw-r--r--README.md4
-rw-r--r--rust_fsm/Cargo.toml3
-rw-r--r--rust_fsm_dsl/Cargo.toml3
3 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9643426..d9f20bf 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# A framework for building finite state machines in Rust
+[![Build Status][build-badge]][build-link]
+
The `rust-fsm` crate provides a simple and universal framework for building
state machines in Rust with minimum effort. The essential part of this crate
is the `StateMachine` trait. This trait allows a developer to provide a
@@ -35,3 +37,5 @@ You can see an example of the Circuit Breaker state machine in the
[project repository][repo].
[repo]: https://github.com/eugene-babichenko/rust-fsm/blob/master/examples/circuit_breaker.rs
+[build-badge]: https://travis-ci.org/eugene-babichenko/rust-fsm.svg?branch=master
+[build-link]: https://travis-ci.org/eugene-babichenko/rust-fsm
diff --git a/rust_fsm/Cargo.toml b/rust_fsm/Cargo.toml
index 486cf51..43beb40 100644
--- a/rust_fsm/Cargo.toml
+++ b/rust_fsm/Cargo.toml
@@ -11,5 +11,8 @@ version = "0.1.0"
authors = ["Yevhenii Babichenko"]
edition = "2018"
+[badges]
+travis-ci = { repository = "eugene-babichenko/rust-fsm" }
+
[dev-dependencies]
rust-fsm-dsl = { path = "../rust_fsm_dsl" }
diff --git a/rust_fsm_dsl/Cargo.toml b/rust_fsm_dsl/Cargo.toml
index 6b8a2a5..432536e 100644
--- a/rust_fsm_dsl/Cargo.toml
+++ b/rust_fsm_dsl/Cargo.toml
@@ -11,6 +11,9 @@ version = "0.1.0"
authors = ["Yevhenii Babichenko"]
edition = "2018"
+[badges]
+travis-ci = { repository = "eugene-babichenko/rust-fsm" }
+
[lib]
proc-macro = true