From 9f9e42c3b0cf60b21283b8b3e05fe338b5a6a247 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 1 Aug 2016 08:48:16 -0500 Subject: add initial travis support --- .travis.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..11168bd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +sudo: false +language: rust +dist: trusty +rust: +- nightly +- beta +- 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: + sources: + - kalakris-cmake + packages: + - cmake + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev +after_success: +- travis-cargo --only stable doc-upload +notifications: + email: + on_success: never +env: + global: + secure: Zk4S6b4o3VihaRi8ir0cc4gLrfxTw2ubFRfgvApzOC8jJcqBaZoz3bfOkVsEsA6bp4esf+XUrHxZ+ChMovQrHVtF/Uu1nFnlXEB3MuLpX1ABNxJoRz/8mb3EzDXC8UmrMb96Gqv4aEsVs8y+UVeNySkngnRjFBvPEpFYXgiFdOfJyntYU71MQd/dsNj4dEtJZFxmOw5BYE3SM1yb+EbhdGPcIMH1RlukL1Fyj8SvkfoJRNPLUjDffPSIZ+OgcH45FlghKsV68NknYvxNxa9QhCyGjVgj1S31E31BWQ3NimdDbGMHaAghon2eRh08iusVLqjun5fYGHdB3TYLjOSEQL5T8AlJkg6q6wH7MNXzZUvtCSQ0IlwsYUm1T5tJiHqaqPbfTC/wVRaafgryoGSnaGvfpOWW0CvjeA6pCqyAuFi5vimGPu8bLkIgRvDTew4I+T8izv5qzKhrhq9iv9v3JcAa5MB3ZeYk+mngftMIzDtASc+BCesvkKbiE/Rd51YlJrOl4KwvBYJTd8Pzs1NjH5x5sYWIq0o4RAAA7KoBtaFJg62aBJzs5uiv5rX1gpWIHo28RJhWkZ+8eeuqyPi3ocObeFukrHjCz/RQwhcZ8EGcQMubi8i+dF8ujOqTW7GBDk4Cmg0WAaU3MMey8tX9CWpHzrrVru08HCNrSqKQvZ8= -- cgit v1.2.3-65-gdbad