language: rust

services:
  - docker

jobs:
  include:
  - os: linux
    arch: amd64
    rust: stable
  - os: linux
    arch: amd64
    rust: nightly-2019-10-17
    env: RDKAFKA_RUN_TESTS=1
  - os: linux
    arch: arm64
    rust: stable
  - os: osx
    rust: stable

script:
  - if [[ "$RDKAFKA_RUN_TESTS" ]]; then ./test_suite.sh; else cargo build --verbose; fi

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/2826b9d85e25802b3907  # gitter
    on_success: change
    on_failure: always
    on_start: never

language: rust

services:
  - docker

jobs:
  include:
  - os: linux
    arch: amd64
    rust: stable
  - os: linux
    arch: amd64
    rust: nightly-2019-10-17
    env: RDKAFKA_RUN_TESTS=1
  - os: linux
    arch: arm64
    rust: stable
  - os: osx
    rust: stable
  - os: windows
    arch: amd64
    rust: stable
    env: FEATURES=cmake_build

script:
  - if [[ "$RDKAFKA_RUN_TESTS" ]]; then ./test_suite.sh; else cargo build --verbose --features "$FEATURES"; fi

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/2826b9d85e25802b3907  # gitter
    on_success: change
    on_failure: always
    on_start: never

Add Windows MSVC build to Travis CI
Add Windows MSVC build to Travis CI

Signed-off-by: Alexander Rodin <412df8ea4419111f0f5d22018d46fe7ffe9825bc@gmail.com>
