language: rust
rust:
  - stable
  - beta
  - nightly
cache: cargo
dist: bionic

matrix:
  allow_failures:
    - rust: nightly
  fast_finish: true

script:
- cargo build $FEATURES || travis_terminate 1
- cargo test $FEATURES || travis_terminate 1
- if [ "$FEATURES" == "" ]; then ./test.sh; fi

env:
  matrix:
  - FEATURES=--features=lambda --no-default-features
  - FEATURES=

language: rust
rust:
  - stable
  - beta
  - nightly
cache: cargo
dist: bionic

addons:
  apt:
    packages:
    - pkg-config
    - libssl-dev

matrix:
  allow_failures:
    - rust: nightly
  fast_finish: true

script:
- cargo build $FEATURES || travis_terminate 1
- cargo test $FEATURES || travis_terminate 1
- if [ "$FEATURES" == "" ]; then ./test.sh; fi

env:
  matrix:
  - FEATURES=--features=lambda --no-default-features
  - FEATURES=

Add libssl/pkg-config for openssl builds
Add libssl/pkg-config for openssl builds
