• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: rust
2addons:
3  apt:
4    update: true
5    packages:
6      - binutils-dev
7      - libunwind8-dev
8      - libcurl4-openssl-dev
9      - libelf-dev
10      - libdw-dev
11      - cmake
12      - gcc
13      - libiberty-dev
14matrix:
15  include:
16    - rust: 1.36.0
17    - rust: nightly
18    - rust: beta
19      env: DO_FUZZ=true
20    - rust: stable
21      env: DO_FUZZ=true
22script: |
23  cargo build --verbose &&
24  cargo test --verbose &&
25  cargo test --verbose --features serde &&
26  ([ $TRAVIS_RUST_VERSION != nightly ] || cargo check --verbose --no-default-features) &&
27  ([ $TRAVIS_RUST_VERSION != beta ] || cargo test --verbose --features union) &&
28  ([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --all-features) &&
29  ([ $TRAVIS_RUST_VERSION != nightly ] || cargo bench --verbose bench) &&
30  ([ $TRAVIS_RUST_VERSION != nightly ] || bash ./scripts/run_miri.sh) &&
31  if [ "$DO_FUZZ" = true ]
32  then
33  (
34    cd fuzz
35    ./travis-fuzz.sh
36  )
37  fi
38