maud/.travis.yml

19 lines
451 B
YAML
Raw Normal View History

2014-12-17 21:29:25 +13:00
language: rust
2015-05-26 22:35:10 +12:00
rust: nightly
sudo: false
2016-11-06 12:49:44 +13:00
before_script:
- cargo install clippy || true
2016-12-17 14:18:48 +13:00
- export PATH=$HOME/.cargo/bin:$PATH
2016-11-06 12:49:44 +13:00
2014-12-17 21:29:25 +13:00
script:
2017-07-29 20:01:14 +12:00
- cargo test --all --all-features
- |
if command -v cargo-clippy > /dev/null; then
CLIPPY_STATUS=0
for package in maud_htmlescape maud_macros maud maud_lints maud_extras; do
(cd $package && cargo clippy -- -D warnings) || CLIPPY_STATUS=$?
2017-07-29 20:01:14 +12:00
done
(exit $CLIPPY_STATUS)
fi