maud/.travis.yml
Chris Wong 565360f2d5 Travis: remove tab check
We should be using a more comprehensive formatting check based on
rustfmt instead.
2017-07-29 20:14:13 +12:00

16 lines
701 B
YAML

language: rust
rust: nightly
sudo: false
before_script:
- cargo install clippy || true
- export PATH=$HOME/.cargo/bin:$PATH
script:
- ( cd maud && cargo test --all-features )
- if command -v cargo-clippy > /dev/null; then ( cd maud && cargo clippy -- -D warnings ); fi
- ( cd maud_macros && cargo test --all-features )
# Silence `collapsible_if` warnings for now -- see https://github.com/lfairy/maud/issues/93
- if command -v cargo-clippy > /dev/null; then ( cd maud_macros && cargo clippy -- -D warnings -A collapsible_if ); fi
- ( cd maud_extras && cargo test --all-features )
- if command -v cargo-clippy > /dev/null; then ( cd maud_extras && cargo clippy -- -D warnings ); fi