forked from telegram-rs/telegram-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (44 loc) · 1.03 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
language: rust
script: skip
jobs:
include:
- stage: toolchain-test
name: "Test toolchain"
script: cargo test --verbose -p telegram-bot
- stage: deploy
name: "Deploy docs"
rust: stable
if: branch = master
script: cargo doc --all
deploy:
provider: pages
local_dir: target/doc
skip_cleanup: true
github_token: $GH_TOKEN
keep_history: false
on:
branch: master
# - stage: test
# name: "Test stable"
# rust: stable
# env:
# - RUSTUP_TOOLCHAIN=stable
# script:
# - cargo test --verbose -p telegram-bot
- stage: test
name: "Test beta"
rust: stable
env:
- RUSTUP_TOOLCHAIN=beta
script:
- cargo test --verbose -p telegram-bot
- stage: test
name: "Test nightly"
rust: stable
env:
- RUSTUP_TOOLCHAIN=nightly
script:
- cargo test --verbose -p telegram-bot
notifications:
webhooks:
- https://heimdallr.mournival.net/travis