language: rust
rust:
- stable
- beta
- nightly
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
env:
global:
- secure: cBgN6D8ZxwC5UA+3pxWg8ZHf1rtnEPEbwYP9W+NNzzOGLXDvDsZVhBeP0v9ZSHOdIxAENk5zypJOgV3TnMAk/JT5+oJ4elNJfefi22Mxlj5PRANb8K894nBXAzhgEB1LFfOh/9gSrvOZzbmK35l8fGFUx263BqcoPIjQ4UEcuyo=
branches:
only:
- master
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- travis-cargo build
- travis-cargo test
- travis-cargo doc
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo