2014-09-11 17:26:31 +02:00
|
|
|
language: rust
|
2016-03-26 04:07:47 +01:00
|
|
|
rust: stable
|
2018-02-26 19:46:30 +01:00
|
|
|
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
|
|
|
|
|
2014-09-11 17:26:31 +02:00
|
|
|
script:
|
2014-11-05 07:45:17 +01:00
|
|
|
- chmod +x mktestconfig.sh
|
|
|
|
- ./mktestconfig.sh
|
2018-01-30 03:10:05 +01:00
|
|
|
- cargo build --verbose
|
2018-01-30 03:21:47 +01:00
|
|
|
- rustdoc --test README.md --extern irc=target/debug/libirc.rlib -L target/debug/deps
|
2017-06-29 09:31:27 +02:00
|
|
|
- cargo test --verbose --features "toml yaml"
|
2017-11-16 17:32:09 +01:00
|
|
|
- cargo test --doc
|
2015-01-01 02:40:57 +01:00
|
|
|
- cargo test --verbose --no-default-features
|
2018-02-26 19:46:30 +01:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- cargo coveralls
|
|
|
|
|
2014-09-11 17:26:31 +02:00
|
|
|
notifications:
|
2015-03-31 19:18:04 +02:00
|
|
|
email: false
|
2014-09-11 17:26:31 +02:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.fyrechat.net#vana-commits"
|
|
|
|
template:
|
|
|
|
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
|
|
|
|
skip_join: true
|