2019-10-09 00:41:34 +00:00
|
|
|
language: rust
|
2019-10-09 01:20:39 +00:00
|
|
|
sudo: required
|
|
|
|
cache: cargo
|
2019-10-09 00:41:34 +00:00
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rust: nightly
|
|
|
|
before_script:
|
|
|
|
- export PATH=$HOME/.cargo/bin:$PATH
|
|
|
|
- cargo install cargo-update || echo "cargo-update already installed"
|
|
|
|
- cargo install cargo-travis || echo "cargo-travis already installed"
|
|
|
|
- cargo install-update -a
|
|
|
|
- mkdir -p target/kcov-master
|
|
|
|
script: cargo coveralls --verbose --all-features
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
fast_finish: true
|
2019-10-09 01:20:39 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libelf-dev
|
|
|
|
- libdw-dev
|
|
|
|
- binutils-dev
|
|
|
|
- cmake
|
|
|
|
sources:
|
|
|
|
- kalakris-cmake
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- /home/travis/.cargo
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -rf /home/travis/.cargo/registry
|