summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-12-29 14:51:26 +0100
committerMatthias Beyer <mail@beyermatthias.de>2015-12-29 14:51:26 +0100
commit007da592750bc076c0e26fe1903da8345d2a8c52 (patch)
tree51897f53c9938999a5fbe516ea7d4e7db47e9cce /.travis.yml
parent248b5c75740987193dfc4eeb31e5c8ae8b782400 (diff)
Add travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..487b4a19
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,41 @@
+sudo: false
+language: rust
+rust:
+ - beta
+ - nightly
+ - stable
+
+matrix:
+ allow_failures:
+ - rust: nightly
+
+before_script:
+ - |
+ pip install 'travis-cargo<0.2' --user &&
+ export PATH=$HOME/.local/bin:$PATH
+
+script:
+ - |
+ travis-cargo build &&
+ travis-cargo test &&
+ travis-cargo bench &&
+ travis-cargo --only stable doc
+
+addons:
+ apt:
+ packages:
+ - libcurl4-openssl-dev
+ - libelf-dev
+ - libdw-dev
+
+after_success:
+ - travis-cargo --only stable doc-upload
+ - travis-cargo coveralls --no-sudo
+
+notifications:
+ email:
+ on_success: never
+
+env:
+ global:
+ - TRAVIS_CARGO_NIGHTLY_FEATURE=dev