vpncloud/.travis.yml

39 lines
774 B
YAML
Raw Permalink Normal View History

2019-02-19 18:44:54 +00:00
dist: xenial
sudo: required
2015-11-23 18:24:34 +00:00
language: rust
2019-02-19 18:44:54 +00:00
cache: cargo
2015-11-23 18:24:34 +00:00
rust:
2019-02-19 18:44:54 +00:00
- nightly
- beta
- stable
2015-11-23 18:24:34 +00:00
matrix:
allow_failures:
2019-02-19 18:44:54 +00:00
- rust: nightly
2015-11-23 18:24:34 +00:00
addons:
apt:
packages:
2019-02-19 18:44:54 +00:00
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
- ruby-ronn
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
script:
- |
cargo build && cargo test
2015-11-23 18:24:34 +00:00
after_success:
2019-12-06 12:08:45 +00:00
- |
[ $TRAVIS_RUST_VERSION = stable ] && cargo coveralls
2019-02-19 18:44:54 +00:00
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
2015-11-23 18:24:34 +00:00
notifications:
email:
on_success: never
2019-02-19 18:44:54 +00:00