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..c2628e3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: rust
+rust:
+ - stable
+ - beta
+ - nightly
+
+cache: cargo
+
+sudo: false
+
+script:
+ - cargo build --verbose --all
+ - cargo test --verbose --all
+ - if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then
+ cargo bench --verbose --all;
+ fi