Skip to content

Commit 0b198e0

Browse files
Add support for TravisCI.
1 parent 38eab60 commit 0b198e0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: rust
2+
rust:
3+
- nightly
4+
- stable
5+
- beta
6+
script:
7+
- RUSTFLAGS='-F warnings' cargo build --verbose --all
8+
- RUSTFLAGS='-F warnings' cargo test --verbose --all
9+
stages:
10+
- Format
11+
- Test
12+
jobs:
13+
include:
14+
- stage: Format
15+
script:
16+
- rustup component add rustfmt-preview
17+
- cargo fmt --all -- --check

0 commit comments

Comments
 (0)