Add Travis CI

Thank you @greyblake for https://youtu.be/SNpJ3h8R4ks
This commit is contained in:
rubenrua 2018-09-21 17:46:34 +02:00
parent 440a353f93
commit 104509fb79

10
.travis.yml Normal file
View file

@ -0,0 +1,10 @@
language: rust
rust:
- stable
install:
- rustup component add rustfmt-preview
- rustup component add clippy-preview
script:
- cargo fmt -- --check
- touch ./src/*.rs && cargo clippy -- -D warnings
- cargo build