---
sudo: required

services:
  - docker

cache:
  - pip

language: python
python:
  - "2.7"
  - "3.5"

env:
  global:
    - CI_CONCURRENT_JOBS=1
    - OPENSHIFT_ANSIBLE_COMMIT=openshift-ansible-3.6.22-1
  matrix:
    - RUN_OPENSTACK_CI=false
    - RUN_OPENSTACK_CI=true

matrix:
  exclude:
    - python: "3.5"
      env: RUN_OPENSTACK_CI=true

before_install:
  - ci/fetch-master.sh

install:
  - ci/install-tox.sh
  - ci/openstack/install.sh

script:
  - ci/run-tox.sh
  - ci/openstack/provision.sh
  - travis_wait 40 ci/openstack/install-openshift.sh
  - ci/openstack/validate.sh

after_script:
  - ci/openstack/teardown.sh

---
sudo: required

services:
  - docker

cache:
  - pip

language: python
python:
  - "2.7"
  - "3.5"

env:
  global:
    - CI_CONCURRENT_JOBS=1
    - OPENSHIFT_ANSIBLE_COMMIT=master
  matrix:
    - RUN_OPENSTACK_CI=false
    - RUN_OPENSTACK_CI=true

matrix:
  exclude:
    - python: "3.5"
      env: RUN_OPENSTACK_CI=true

before_install:
  - ci/fetch-master.sh

install:
  - ci/install-tox.sh
  - ci/openstack/install.sh

script:
  - ci/run-tox.sh
  - ci/openstack/provision.sh
  - travis_wait 40 ci/openstack/install-openshift.sh
  - ci/openstack/validate.sh

after_script:
  - ci/openstack/teardown.sh

Switch to the latest openshift-ansible
Switch to the latest openshift-ansible
