mirror of https://github.com/dswd/vpncloud.git
39 lines
774 B
YAML
39 lines
774 B
YAML
dist: xenial
|
|
sudo: required
|
|
language: rust
|
|
cache: cargo
|
|
rust:
|
|
- nightly
|
|
- beta
|
|
- stable
|
|
matrix:
|
|
allow_failures:
|
|
- rust: nightly
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- 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
|
|
after_success:
|
|
- |
|
|
[ $TRAVIS_RUST_VERSION = stable ] && cargo coveralls
|
|
env:
|
|
global:
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
|