Disallow nightly failures (#115)

Always install rustfmt since nightly may change underneath it, causing
linking to break.

Apply rustfmt
This commit is contained in:
Oliver Gould
2017-09-24 19:25:50 -07:00
committed by Sean McArthur
parent a72a6bc8f0
commit dad113e17b
10 changed files with 34 additions and 53 deletions

View File

@@ -28,8 +28,8 @@ after_success:
- cargo tarpaulin --out Xml -- --skip hpack && bash <(curl -s https://codecov.io/bash)
jobs:
allow_failures:
- rust: nightly
# allow_failures:
# - rust: nightly
include:
- stage: docs
script: cargo doc --no-deps
@@ -47,7 +47,7 @@ jobs:
after_success: skip
- stage: fmt
rust: nightly
install: if ! cargo fmt --help >/dev/null 2>&1 ; then cargo install rustfmt-nightly ; fi
install: cargo install --force rustfmt-nightly
script: cargo fmt -- --write-mode=diff
after_success: skip