summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c09ae53
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: rust
+sudo: false
+
+# run builds for all the trains (and more)
+rust:
+ - 1.10.0
+ - stable
+ - beta
+ - nightly
+
+# the main build
+script:
+ - |
+ cargo build &&
+ cargo test &&
+ cargo test --release &&
+ cargo doc &&
+ cargo bench
+
+branches:
+ only:
+ - master