mirror of
https://github.com/yewprint/yewprint
synced 2024-11-22 03:23:03 +00:00
Fix .travis.yml again
This commit is contained in:
parent
d4e2213f1c
commit
e975fa61d9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ before_script:
|
|||
# NOTE: will only run rustfmt and clippy if the branch is not main (and not for tags)
|
||||
script:
|
||||
- 'if [ "$TRAVIS_BRANCH" != main ] && [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then rustfmt --check **/*.rs; fi'
|
||||
- '[ "$TRAVIS_BRANCH" != main ] && [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then cargo clippy --all-targets --all-features -- -D warnings; fi'
|
||||
- 'if [ "$TRAVIS_BRANCH" != main ] && [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ]; then cargo clippy --all-targets --all-features -- -D warnings; fi'
|
||||
- cargo build
|
||||
- cargo test
|
||||
- cargo doc
|
||||
|
|
Loading…
Reference in a new issue