language: python

env:
  matrix:
    - TEST=none

matrix:
  exclude:
    - env: TEST=none
  include:
    - env: TEST=other
    - env: TEST=units

    - env: TEST=osx/10.11

    - env: TEST=freebsd/10.3-STABLE

    - env: TEST=windows/1
    - env: TEST=windows/2
    - env: TEST=windows/3

    - env: TEST=linux/centos6/1
    - env: TEST=linux/centos7/1
    - env: TEST=linux/fedora-rawhide/1
    - env: TEST=linux/fedora23/1
    - env: TEST=linux/opensuseleap/1
    - env: TEST=linux/ubuntu1204/1
    - env: TEST=linux/ubuntu1404/1
    - env: TEST=linux/ubuntu1604/1
    - env: TEST=linux/ubuntu1604py3/1

    - env: TEST=linux/centos6/2
    - env: TEST=linux/centos7/2
    - env: TEST=linux/fedora-rawhide/2
    - env: TEST=linux/fedora23/2
    - env: TEST=linux/opensuseleap/2
    - env: TEST=linux/ubuntu1204/2
    - env: TEST=linux/ubuntu1404/2
    - env: TEST=linux/ubuntu1604/2
    - env: TEST=linux/ubuntu1604py3/2

    - env: TEST=linux/centos6/3
    - env: TEST=linux/centos7/3
    - env: TEST=linux/fedora-rawhide/3
    - env: TEST=linux/fedora23/3
    - env: TEST=linux/opensuseleap/3
    - env: TEST=linux/ubuntu1204/3
    - env: TEST=linux/ubuntu1404/3
    - env: TEST=linux/ubuntu1604/3
    - env: TEST=linux/ubuntu1604py3/3
build:
  pre_ci_boot:
    options: "--privileged=false --net=bridge"
  ci:
    - test/utils/shippable/timing.sh test/utils/shippable/shippable.sh

integrations:
  notifications:
    - integrationName: email
      type: email
      on_success: never
      on_failure: never
      on_start: never
      on_pull_request: never
    - integrationName: irc
      type: irc
      recipients:
      - "chat.freenode.net#ansible-notices"
      on_success: change
      on_failure: always
      on_start: never
      on_pull_request: always
    - integrationName: slack
      type: slack
      recipients:
      - "#shippable"
      on_success: change
      on_failure: always
      on_start: never
      on_pull_request: never
