Fix CI instructions in README.md

Closes #2285
This commit is contained in:
Nick Cameron 2017-12-15 23:59:06 +13:00 committed by GitHub
parent 8db33ff0f7
commit 7a4daf0d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ language: rust
cache: cargo
before_script:
- export PATH="$PATH:$HOME/.cargo/bin"
- which rustfmt || cargo install rustfmt
- which rustfmt || cargo install rustfmt-nightly
script:
- cargo fmt -- --write-mode=diff
- cargo build