rust-irc/.travis.yml

46 lines
1,020 B
YAML
Raw Normal View History

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:
- 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"
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:
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