Use travis' native rust support (and build fuzztarget on travis)

This commit is contained in:
Matt Corallo 2018-03-21 17:31:39 -04:00
parent e1878c4522
commit ad72da771c
1 changed files with 15 additions and 20 deletions

View File

@ -1,23 +1,18 @@
language: rust language: rust
sudo: false rust:
- stable
matrix: - beta
include: - nightly
- rust: stable - 1.14.0
- rust: beta cache: cargo
- rust: nightly
install:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script: script:
- | - cargo build --verbose --features=fuzztarget
travis-cargo build && - cargo build --verbose --features=rand
travis-cargo build -- --release && - cargo test --verbose --features=rand
travis-cargo test && - cargo build --verbose
travis-cargo test -- --release && - cargo test --verbose
travis-cargo bench && - cargo build --release
travis-cargo --only stable doc - cargo test --release
- cargo bench
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cargo doc; fi