summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml16
-rw-r--r--Cargo.toml4
-rw-r--r--README.md2
3 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..56a26b3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: rust
+rust:
+ - nightly
+
+cache: cargo
+
+install:
+ - rustup component add clippy
+ - cargo install cargo-udeps
+ - cargo build
+
+script:
+ - cargo build
+ - cargo test
+ - cargo clippy -- --deny warnings
+ - cargo udeps --locked --all-targets
diff --git a/Cargo.toml b/Cargo.toml
index 1ec0475..6195e33 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,6 +7,10 @@ authors = ["Owen Jacobson <owen@grimoire.ca>"]
homepage = "https://things-to-check.herokuapp.com/"
edition = "2018"
+[badges.travis-ci]
+project = "ojacobson/things-to-check"
+branch = "main"
+
[dependencies]
actix-rt = "~1.0"
actix-web = "~2.0"
diff --git a/README.md b/README.md
index 909dc53..cfdd2f2 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Things To Check
+[![Build Status](https://travis-ci.org/ojacobson/things-to-check.svg?branch=main)](https://travis-ci.org/ojacobson/things-to-check)
+
A friend of mine used to run an IRC bot that could provide "helpful"
troubleshooting suggestions, based on places the folks in that chat had stubbed
their toes in the past.