Always use stable rustfmt for CI. (#1074)

Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
This commit is contained in:
Hal Gentz 2019-07-28 03:09:31 -06:00 committed by GitHub
parent 4ae9900363
commit 03f9e8fce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,10 +45,11 @@ matrix:
install: install:
- rustup self update - rustup self update
- rustup target add $TARGET; true - rustup target add $TARGET; true
- rustup component add rustfmt - rustup toolchain install stable
- rustup component add rustfmt --toolchain stable
script: script:
- cargo fmt --all -- --check - cargo +stable fmt --all -- --check
- cargo build --target $TARGET --verbose - cargo build --target $TARGET --verbose
- cargo build --target $TARGET --features serde --verbose - cargo build --target $TARGET --features serde --verbose
# Running iOS apps on OSX requires the simulator so we skip that for now # Running iOS apps on OSX requires the simulator so we skip that for now