rust/.travis.yml

21 lines
304 B
YAML
Raw Normal View History

2018-01-27 15:06:39 -06:00
language: rust
2018-01-27 17:31:23 -06:00
matrix:
include:
2018-01-27 17:43:19 -06:00
2018-01-27 17:31:23 -06:00
- rust: nightly-2018-01-26
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt -- --write-mode=diff
2018-01-27 17:43:19 -06:00
- rust: stable
script:
- cargo test
2018-01-27 18:23:05 -06:00
branches:
only:
- staging
- master
- trying