rust-irc/.travis.yml
Aaron Weiss 9e9d020b47
Temporarily disable the tls-rust test.
This is blocked by some ops work on the pdgn.co servers that I don't have time for, and it's better to get this into a release sooner.
2020-05-07 16:05:14 -04:00

64 lines
1.6 KiB
YAML

language: rust
sudo: false
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
# 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
notifications:
email: false
irc:
on_failure: always
on_success: never
channels:
- "ircs://irc.pdgn.co:6697/#commits"
template:
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
skip_join: true