vpncloud/.travis.yml

42 lines
823 B
YAML
Raw Normal View History

2015-11-23 18:51:10 +00:00
sudo: true
2015-11-23 18:24:34 +00:00
language: rust
rust:
- nightly
- beta
- stable
matrix:
allow_failures:
- rust: nightly
before_script:
2015-11-26 22:35:16 +00:00
- ! ' set -e ;
pip install ''travis-cargo<0.2'' --user ;
export PATH=$HOME/.local/bin:$PATH ;
2015-11-23 20:53:33 +00:00
'
2015-11-23 18:24:34 +00:00
script:
2015-11-26 22:35:16 +00:00
- ! ' set -e ;
travis-cargo build ;
2015-11-30 16:27:50 +00:00
travis-cargo test ;
travis-cargo bench ;
2016-05-25 11:55:24 +00:00
travis-cargo coverage || true ;
2015-11-23 20:53:33 +00:00
'
2015-11-23 18:24:34 +00:00
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
2019-01-03 18:48:34 +00:00
- binutils-dev
2015-11-23 18:24:34 +00:00
after_success:
2015-11-26 22:35:16 +00:00
- ! ' set -e ;
rm -rf target/kcov ;
rm target/debug/vpncloud-* ;
2016-05-25 12:15:44 +00:00
cargo test --no-run ;
2016-05-25 12:53:07 +00:00
kcov/build/src/kcov --verify --exclude-pattern=/libsodium/,/x86_64-linux-gnu/,/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov target/debug/vpncloud-* || true ;
2015-11-26 22:31:10 +00:00
'
2015-11-23 18:24:34 +00:00
notifications:
email:
on_success: never
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""