sudo: required
language: rust
cache: cargo

addons:
  apt:
    packages:
    - libssl-dev
    
rust:
- stable
- beta
- nightly

matrix:
  allow_failures:
  - rust: nightly

before_cache: |
  if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
    RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
  fi

script: |
  cargo test --all --all-features

after_success: |
  if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
    cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
  fi

sudo: required
language: rust
cache: cargo

addons:
  apt:
    packages:
    - libssl-dev
    
rust:
- stable
- beta
- nightly

matrix:
  allow_failures:
  - rust: nightly

before_cache: |
  if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
    RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
  fi

script: |
  cargo test --all --all-features

after_success: |
  if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
    cargo tarpaulin --all-features --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
  fi

Add coverage for all features
Add coverage for all features
