rust-irc/.travis.yml

65 lines
1.6 KiB
YAML
Raw Normal View History

2014-09-11 17:26:31 +02:00
language: rust
sudo: false
2020-01-29 23:07:22 +01:00
jobs:
allow_failures:
- stage: test
rust: beta
env: FEATURES=default
- stage: test
rust: nightly
env: FEATURES=default
include:
# Default features
- &test
rust: stable
env: FEATURES=default
script:
- cargo test --all --no-default-features --features "$FEATURES"
- cargo build --no-default-features --features "$FEATURES"
- cargo run --no-default-features --features "$FEATURES" --example build-bot
# No features
- <<: *test
env: FEATURES=
# CTCP on without toml
- <<: *test
env: FEATURES=ctcp
# CTCP on w/toml (this is the same as default)
#- <<: *test
# env: FEATURES=ctcp toml_config
# nochanlists on without toml
- <<: *test
env: FEATURES=nochanlists
# nochanlists on w/toml
- <<: *test
env: FEATURES=nochanlists toml_config
# tls-rust: disabled until testing server supports TLS 1.3
# - <<: *test
# env: FEATURES=tls-rust
2020-01-29 23:07:22 +01:00
# Beta
- <<: *test
rust: beta
env: FEATURES=default
# Nightly
- <<: *test
rust: nightly
env: FEATURES=default
# No idea how to fix this, since we don't depend on futures-preview directly.
# - rustdoc --test README.md --extern irc=target/debug/libirc.rlib -L target/debug/deps --edition 2018
2014-09-11 17:26:31 +02:00
notifications:
email: false
2014-09-11 17:26:31 +02:00
irc:
2020-01-29 23:07:22 +01:00
on_failure: always
on_success: never
2014-09-11 17:26:31 +02:00
channels:
- "ircs://irc.pdgn.co:6697/#commits"
2014-09-11 17:26:31 +02:00
template:
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
skip_join: true