language: rust
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- -- check
- cargo build
- cargo test

language: rust
rust:
- stable
- beta
before_script:
- rustup component add clippy rustfmt
script:
- cargo fmt --all -- --check
- cargo clippy -- -D warnings
- cargo build
- cargo test

Fix typo in Travis config, add Clippy
Fix typo in Travis config, add Clippy

Bug: https://github.com/proot-me/proot-rs/issues/5
