rust-imap/.travis.yml
Matt McCoy 32a1cabf6e Switch from travis-cargo to cargo-travis (#44)
travis-cargo no longer works with coveralls, and appears
to be unmaintained. This change use regular cargo to
build and test. It now uses cargo-travis to push test
results to coveralls. This will also build nightly, and 
only push test results on the stable build.
2017-10-02 19:52:21 -04:00

37 lines
550 B
YAML

sudo: false
language: rust
# Dependencies of kcov, used by coverage
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
before_install:
- |
cargo install cargo-travis &&
export PATH=$HOME/.cargo/bin:$PATH
script:
- |
cargo build &&
cargo test &&
cargo bench
after_success:
- "if [ $TRAVIS_RUST_VERSION = stable ]; then cargo coveralls; fi"