From ccb8d78c95a9f68fd35df27ab6f7b197e4e2e82d Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Wed, 26 Dec 2018 14:06:48 +1100 Subject: [PATCH 1/2] Add Travis CI config --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..40b1d7c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: rust +cache: cargo +script: + - cargo test +rust: + - stable + - beta +matrix: + allow_failures: + - rust: beta From cb548ac0b66f730ea56049e53f74ac111da64cd6 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Wed, 26 Dec 2018 14:12:08 +1100 Subject: [PATCH 2/2] Add Travis badge to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 717bcf4..1b3b472 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Rust driver for the [Solomon Systech SSD1675][SSD1675] e-Paper display (EPD) controller, for use with [embedded-hal]. +[![Build Status](https://travis-ci.org/wezm/ssd1675.svg?branch=master)](https://travis-ci.org/wezm/ssd1675) [![crates.io](https://img.shields.io/crates/v/ssd1675.svg)](https://crates.io/crates/ssd1675) [![Documentation](https://docs.rs/ssd1675/badge.svg)][crate-docs]