From f11e2cc3c25ff7927a7bb19b0d8e372c3e5a5887 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 10 Jan 2020 13:16:49 +0100 Subject: Add travis setup Signed-off-by: Matthias Beyer --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..48e7e90 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: rust + +matrix: + fast_finish: true + allow_failures: + - rust: nightly + include: + - rust: 1.40.0 + - rust: stable + - rust: beta + - rust: nightly + - name: rustfmt/clippy + rust: stable + install: + - rustup component add rustfmt clippy + script: + - cargo fmt --all -- --check + - cargo clippy --all --all-targets + +cache: cargo + +script: + - cargo build --all-features --verbose -j 1 + - cargo test --all-features --verbose -j 1 + +notifications: + email: + on_success: always + on_failure: always -- cgit v1.2.3