summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 16 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