ansible-development-environ.../roles/robertdebock.investigate/.travis.yml

97 lines
4.3 KiB
YAML

---
sudo: required
language: python
services: docker
env:
- version=">=2.6,<2.7" distro="alpine-latest"
- version="" distro="alpine-latest"
- version="devel" distro="alpine-latest"
- version=">=2.6,<2.7" distro="alpine-edge"
- version="" distro="alpine-edge"
- version="devel" distro="alpine-edge"
- version=">=2.6,<2.7" distro="archlinux"
- version="" distro="archlinux"
- version="devel" distro="archlinux"
- version=">=2.6,<2.7" distro="centos-6"
- version="" distro="centos-6"
- version="devel" distro="centos-6"
- version=">=2.6,<2.7" distro="centos-latest"
- version="" distro="centos-latest"
- version="devel" distro="centos-latest"
- version=">=2.6,<2.7" distro="debian-latest"
- version="" distro="debian-latest"
- version="devel" distro="debian-latest"
- version=">=2.6,<2.7" distro="debian-stable"
- version="" distro="debian-stable"
- version="devel" distro="debian-stable"
- version=">=2.6,<2.7" distro="debian-unstable"
- version="" distro="debian-unstable"
- version="devel" distro="debian-unstable"
- version=">=2.6,<2.7" distro="fedora-latest"
- version="" distro="fedora-latest"
- version="devel" distro="fedora-latest"
- version=">=2.6,<2.7" distro="fedora-rawhide"
- version="" distro="fedora-rawhide"
- version="devel" distro="fedora-rawhide"
- version=">=2.6,<2.7" distro="opensuse-leap"
- version="" distro="opensuse-leap"
- version="devel" distro="opensuse-leap"
- version=">=2.6,<2.7" distro="opensuse-tumbleweed"
- version="" distro="opensuse-tumbleweed"
- version="devel" distro="opensuse-tumbleweed"
- version=">=2.6,<2.7" distro="ubuntu-artful"
- version="" distro="ubuntu-artful"
- version="devel" distro="ubuntu-artful"
- version=">=2.6,<2.7" distro="ubuntu-latest"
- version="" distro="ubuntu-latest"
- version="devel" distro="ubuntu-latest"
- version=">=2.6,<2.7" distro="ubuntu-devel"
- version="" distro="ubuntu-devel"
- version="devel" distro="ubuntu-devel"
matrix:
allow_failures:
- env: version=">=2.6,<2.7" distro="alpine-edge"
- env: version="" distro="alpine-edge"
- env: version="devel" distro="alpine-edge"
- env: version="devel" distro="alpine-latest"
- env: version="devel" distro="archlinux"
- env: version="devel" distro="centos-6"
- env: version="devel" distro="centos-latest"
- env: version="devel" distro="debian-latest"
- env: version="devel" distro="debian-stable"
- env: version=">=2.6,<2.7" distro="debian-unstable"
- env: version="" distro="debian-unstable"
- env: version="devel" distro="debian-unstable"
- env: version="devel" distro="fedora-latest"
- env: version=">=2.6,<2.7" distro="fedora-rawhide"
- env: version="" distro="fedora-rawhide"
- env: version="devel" distro="fedora-rawhide"
- env: version="devel" distro="opensuse-leap"
- env: version="devel" distro="opensuse-tumbleweed"
- env: version="devel" distro="ubuntu-artful"
- env: version=">=2.6,<2.7" distro="ubuntu-devel"
- env: version="" distro="ubuntu-devel"
- env: version="devel" distro="ubuntu-devel"
- env: version="devel" distro="ubuntu-latest"
cache:
- pip
install:
- pip install --upgrade pip
- if [ "${version}" != "devel" ] ; then pip install ansible"${version}" ; fi
- if [ "${version}" = "devel" ] ; then pip install git+https://github.com/ansible/ansible.git@devel ; fi
- pip install molecule
- pip install docker
script:
- if [ "${expectation}" = "fail" ] ; then ! molecule test --scenario-name "${distro}" ; else molecule test --scenario-name "${distro}" ; fi
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
slack:
secure: "Tw0Y4ZAz1VpdR10IoMfs7MGgMkr4K6tYk3dvfyM1fSt+TN03ZGMcHODNamTW6MOPKN06JYaK2iwG3iLlHgZGQTM/A24Cb1RTSxs8j+WOOeFdhl24lBoYSqgPisQqtjlErGAN6QIaC3/ga2T9BxEGFHZ+F7c7gfNI9LR+AvrR88wRcwNeUn6vBa97yS8D0nA81/cY5fxvGWr2rP3Tw+sMNy0SVBpzS1aDYK5ZN2vApx7n3XgqTVI9L3MPzdn5aUqXVaJkYoFHGMvHUB/CEg/xOcOxlfDYGWwKAdybfwLxIALa4UrTsPFBGwJgUcc6PjkYJ6ctLos0E4iII2IRp8Me6HD33deJCmLU0TSTUr/d0ZMmcJ8N0Jo3FBh3Py3T8UARQmvq45M9JDh7pMJIuIbCCzJsHNHm0Jk3zFV7hVZT6xhBitTGP+LWYtmWQMCSuW/PNtLFIw+lK2h+dM+5s4TyyzMfego+P6P/MB0bvI/t1yoyo/+eVm/2LSkD0D+MhDWU8Ffz9z6w6s6HvjOpEgke5jO3kWXqwIDTc/lcuRZ3hWarjC8cnQglDywOdH+RGiISrtK7CSnYdVotR7Ffku1EIvH+YCbyWWrZwEdqauCFsGDMBWbcgbb0gTRDy95/ktAnZmORaJ4+GOouvpsRcrH4rqwWEpDdUrKiLm95pu/tUjg="
email: false