45 lines
1,020 B
YAML
45 lines
1,020 B
YAML
language: rust
|
|
rust: stable
|
|
sudo: true
|
|
|
|
cache:
|
|
- apt
|
|
- cargo
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libcurl4-openssl-dev
|
|
- libelf-dev
|
|
- libdw-dev
|
|
- binutils-dev
|
|
- cmake
|
|
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
|
|
|
|
script:
|
|
- chmod +x mktestconfig.sh
|
|
- ./mktestconfig.sh
|
|
- cargo build --verbose
|
|
- rustdoc --test README.md --extern irc=target/debug/libirc.rlib -L target/debug/deps
|
|
- cargo test --verbose --features "toml yaml"
|
|
- cargo test --doc
|
|
- cargo test --verbose --no-default-features
|
|
|
|
after_success:
|
|
- cargo coveralls
|
|
|
|
notifications:
|
|
email: false
|
|
irc:
|
|
channels:
|
|
- "irc.fyrechat.net#vana-commits"
|
|
template:
|
|
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
|
|
skip_join: true
|