From 007da592750bc076c0e26fe1903da8345d2a8c52 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 29 Dec 2015 14:51:26 +0100 Subject: [PATCH] Add travis.yml --- .travis.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .travis.yml 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