Use travis' native rust support (and build fuzztarget on travis)
This commit is contained in:
parent
e1878c4522
commit
ad72da771c
35
.travis.yml
35
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue