From b82b65ab092865f2099a991304b3c495ada39a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Sun, 15 Mar 2020 12:35:35 +0100 Subject: [PATCH] travis: Add initial travis config. --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..3ba609cb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: rust +rust: stable + +jobs: + include: + - os: linux + dist: bionic + + - os: osx + +before_script: + - rustup component add rustfmt + +script: + - cargo build --no-default-features --features 'encryption' + - cargo fmt --all --no-default-features --features 'encryption' -- --check + - cargo test --no-default-features --features 'encryption'