-
Notifications
You must be signed in to change notification settings - Fork 100
/
.travis.yml
64 lines (57 loc) · 1.57 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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