Skip to content

Commit

Permalink
separate code format build and allow its failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 2, 2018
1 parent 3a12f3e commit 8290517
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@ matrix:
env: FEATURES=''
- rust: stable
env: DOC_FEATURES='--features "std regexp regexp_macros" --no-default-features'
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
script:
- eval cargo doc --verbose $DOC_FEATURES
allow_failures:
- rust: stable
env: FEATURES=''
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- rustup component add rustfmt-preview
script:
- eval cargo fmt -- --write-mode=diff
- eval cargo doc --verbose $DOC_FEATURES

notifications:
webhooks:
Expand Down

0 comments on commit 8290517

Please sign in to comment.