ansible-development-environ.../roles/python_pip/.travis.yml

89 lines
4.0 KiB
YAML

---
sudo: required
language: python
services: docker
env:
- version=">=2.7,<2.8" distro="alpine-latest"
- version="" distro="alpine-latest"
- version="devel" distro="alpine-latest"
- version=">=2.7,<2.8" distro="alpine-edge"
- version="" distro="alpine-edge"
- version="devel" distro="alpine-edge"
- version=">=2.7,<2.8" distro="archlinux"
- version="" distro="archlinux"
- version="devel" distro="archlinux"
- version=">=2.7,<2.8" distro="centos-6" expectation="fail"
- version="" distro="centos-6" expectation="fail"
- version="devel" distro="centos-6" expectation="fail"
- version=">=2.7,<2.8" distro="centos-latest"
- version="" distro="centos-latest"
- version="devel" distro="centos-latest"
- version=">=2.7,<2.8" distro="debian-stable"
- version="" distro="debian-stable"
- version="devel" distro="debian-stable"
- version=">=2.7,<2.8" distro="debian-unstable"
- version="" distro="debian-unstable"
- version="devel" distro="debian-unstable"
- version=">=2.7,<2.8" distro="fedora-latest"
- version="" distro="fedora-latest"
- version="devel" distro="fedora-latest"
- version=">=2.7,<2.8" distro="fedora-rawhide"
- version="" distro="fedora-rawhide"
- version="devel" distro="fedora-rawhide"
- version=">=2.7,<2.8" distro="opensuse-leap"
- version="" distro="opensuse-leap"
- version="devel" distro="opensuse-leap"
- version=">=2.7,<2.8" distro="ubuntu-rolling"
- version="" distro="ubuntu-rolling"
- version="devel" distro="ubuntu-rolling"
- version=">=2.7,<2.8" distro="ubuntu-latest"
- version="" distro="ubuntu-latest"
- version="devel" distro="ubuntu-latest"
- version=">=2.7,<2.8" distro="ubuntu-devel"
- version="" distro="ubuntu-devel"
- version="devel" distro="ubuntu-devel"
matrix:
allow_failures:
- env: version=">=2.7,<2.8" 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" expectation="fail"
- env: version="devel" distro="centos-latest"
- env: version="devel" distro="debian-stable"
- env: version=">=2.7,<2.8" distro="debian-unstable"
- env: version="" distro="debian-unstable"
- env: version="devel" distro="debian-unstable"
- env: version="devel" distro="fedora-latest"
- env: version=">=2.7,<2.8" distro="fedora-rawhide"
- env: version="" distro="fedora-rawhide"
- env: version="devel" distro="fedora-rawhide"
- env: version="devel" distro="opensuse-leap"
- env: version="devel" distro="ubuntu-rolling"
- env: version=">=2.7,<2.8" 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: "rJpoqZx8pkcsMfTDcNAfoo7JI6vQFtmkQFQS7XfEILkYLYPXtpXRM24NT2lz7cTW6CsYmGc6PiCCToIUpbzXYUX05T/fgC0aEYODSdudmChzlMlaUIlvhenMklWHa2aVJLZZK7/HVj7hd+YWWaWjRRdUjNjT42qMAQNkUtuarrICnSJRKDvXnh2KuIbZz/wzf8fLhQLEDRjeNwvxNz835r1d2MqHKMddPlM9LIMA6W9NoTSVzC7OjcGUcITQo4IppJmeFLR1ijjHSrgIC+8mCJCMMc2MoU7iALZPNHciWcy8R1nQVEFwuTf4sq+nQAseilNYB4z8I8Lvzm6gdOco+TRfpj7D/beZ33NHOtv5yxbrQ2Z40FKcMncCG5vBejX70Mx6kLqKuFbUTDworhEyhDSs3AcA3WAY2+keQKWlFnPYZdrAPVsLbYFDjolU9/vl4P56wbxfTFIhAicAPkJfFXWYRdRRD0UdDZQ1YzsgRb/2KX/rhQZCKxq84EMUg7F8D0AYBnb+pFokZHY8zeR2CkyjMePZWw8mln1dzIptSiduO8Z1Cf/mJxfyOBI9MFGw8B3i8wuZOpINkq6F6n2GsZGtQaZ5oOC1mZXCXxBRhZT7RvlzwO5b3iAkKJwDVOFnm0VHtNJwg6O9g3jYvy+LkSBd7jlcTcl2Vu4zsT8siFk="
email: false