blob: f46b24db70bd7c02a83dbf30b5a7b2bdf3a53a3a [file] [log] [blame]
language: rust
rust:
- nightly
sudo: false
cache: cargo
matrix:
include:
- name: cargo test
os: osx
- name: cargo test
os: linux
- name: cargo clippy
rust: nightly
script:
- if rustup component add clippy-preview;
then
cargo clippy -- -Dwarnings;
else
echo 'Skipping clippy';
fi
- name: cargo doc
rust: nightly
script:
- RUSTDOCFLAGS=-Dwarnings cargo doc
script:
- cargo build
- cargo test
- cargo test --release
notifications:
email:
on_success: never