Created
September 15, 2018 14:40
-
-
Save greyblake/a0e4d5a69904ad4bf4588ca36341a62f to your computer and use it in GitHub Desktop.
Minimal rust setup for travis ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: rust | |
rust: | |
- stable | |
install: | |
- rustup component add rustfmt-preview | |
- rustup component add clippy-preview | |
script: | |
- cargo fmt -- --check | |
- touch ./src/main.rs && cargo clippy -- -D warnings | |
- cargo test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment