language: rust

sudo: required

addons:
    apt:
        packages:
            - libssl-dev

cache: cargo

matrix:
    include:
        - rust: 1.40.0
        - rust: stable
        - rust: beta
        - rust: nightly
        - rust: nightly
          os: osx
        - rust: nightly
          script:
                - cargo -Z minimal-versions test --verbose --all --all-features

script:
    - cargo build --verbose --all --all-features
    - cargo test  --verbose --all --all-features

after_success: |
    if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
        RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
        cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
    fi

language: rust

sudo: required

addons:
    apt:
        packages:
            - libssl-dev

cache: cargo

matrix:
    include:
        - rust: 1.40.0
        - rust: stable
        - rust: beta
        - rust: nightly
        - rust: nightly
          os: osx
# Pest dependency on quote is broken, doesn't build with min version
#        - rust: nightly
#          script:
#                - cargo -Z minimal-versions test --verbose --all --all-features

script:
    - cargo build --verbose --all --all-features
    - cargo test  --verbose --all --all-features

after_success: |
    if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
        RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
        cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
    fi

Revert "reenable minimum version check"
Revert "reenable minimum version check"

This reverts commit 24e88bfc972f0de18c9f911a58f4951c8c33caf2.
