Commit 95857a21 authored by eonm's avatar eonm
Browse files

Add coveralls

parent 92a9acd1
repo_token: G0el4JKrQI0BJbMZi5kMXFSby0LfRfG9r
sudo: required
language: rust
rust :
- stable
- nightly
cache: cargo
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- libbfd-dev
- binutils-dev
- cmake # also required for cargo-update
sources:
- kalakris-cmake
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 # update outdated cached binaries
os:
- linux
sudo: false
cache: cargo
script:
- cargo test --verbose --all
after_success:
# measure code coverage and upload to coveralls.io
- cargo coveralls --exclude-path=src/socket/ --exclude-pattern=src/attr.rs,src/cmd.rs,/.cargo
notifications:
email: false
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment