2014-09-11 17:26:31 +02:00
|
|
|
language: rust
|
2018-02-26 20:09:37 +01:00
|
|
|
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
|
2020-03-07 06:17:35 +01:00
|
|
|
# tls-rust
|
|
|
|
- <<: *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:
|
2015-03-31 19:18:04 +02:00
|
|
|
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:
|
2018-09-17 23:50:53 +02:00
|
|
|
- "ircs://irc.pdgn.co:6697/#commits"
|
2014-09-11 17:26:31 +02:00
|
|
|
template:
|
|
|
|
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
|
|
|
|
skip_join: true
|