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
language: rust
cache: cargo
branches:
only:
- master
rust:
- 1.35.0
- stable
os:
- linux
- osx
- windows
env:
global:
- RUST_BACKTRACE=1
- RUSTFLAGS="-D warnings"
matrix:
fast_finish: true
allow_failures:
# Travis CI's Windows tier is presently beta (slow / unreliable)
- os: windows
install:
- rustup component add rustfmt
- rustup component add clippy
script:
- cargo fmt --all -- --check
- cargo clippy --all
- cargo build --release
- cargo test --release
- cargo doc --no-deps