language: rust
cache: cargo
dist: xenial
sudo: false
group: beta
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
rust:
- stable
- beta
- nightly
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install openssl; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew link openssl --force; fi
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- cargo test
- cargo doc --no-deps
notifications:
email:
on_success: never
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo --only stable coveralls --no-sudo
env:
global:
secure:
os:
- linux
- osx