-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
54 lines (46 loc) · 991 Bytes
/
.travis.yml
File metadata and controls
54 lines (46 loc) · 991 Bytes
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
language: rust
rust:
- stable
- nightly
cache:
cargo: true
sudo: required
env:
global:
- CARGO_INCREMENTAL=0
script:
- cargo build --verbose --all
- cargo test --verbose --all
- cargo run --example plain
- cargo run --example term
- cargo run --example json
jobs:
allow_failures:
- rust: nightly-2018-07-07
include:
- stage: clippy lints
rust: nightly-2018-07-07
env:
- NIGHTLY=nightly-2018-07-07
- CLIPPY=0.0.212
before_install:
- travis_wait ./.ci/travis-install-clippy.sh
script:
- cargo +$NIGHTLY clippy --verbose --all -- -D warnings
- stage: upload docs
if: (branch = master) AND (type != pull_request)
rust: nightly
script:
- cargo doc
deploy:
provider: pages
github-token: $GITHUB_TOKEN
skip-cleanup: true
local-dir: target/doc
branches:
only:
- master
- develop
notifications:
email:
on_success: never