-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
32 lines (32 loc) · 1.29 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
language: rust
cache: cargo
rust:
- 1.28.0
- stable
- beta
- nightly
env:
- MONIKER_CARGO_FEATURES=""
- MONIKER_CARGO_FEATURES="codespan im num-bigint"
- MONIKER_CARGO_FEATURES="default"
- MONIKER_CARGO_FEATURES="default codespan im num-bigint"
matrix:
allow_failures:
- rust: nightly
script:
# moniker-derive
- cargo build --manifest-path=moniker-derive/Cargo.toml --verbose
- cargo test --manifest-path=moniker-derive/Cargo.toml --verbose
# moniker
- cargo build --manifest-path=moniker/Cargo.toml --no-default-features --features="$MONIKER_CARGO_FEATURES" --verbose
- cargo test --manifest-path=moniker/Cargo.toml --no-default-features --features="$MONIKER_CARGO_FEATURES" --verbose
# moniker examples
- cargo build --manifest-path=moniker/Cargo.toml --no-default-features --features="$MONIKER_CARGO_FEATURES" --verbose --examples
- cargo test --manifest-path=moniker/Cargo.toml --no-default-features --features="$MONIKER_CARGO_FEATURES" --verbose --examples
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ac9ac9e4198b308fe760
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always