2017-01-02 17:52:58 +01:00
|
|
|
---
|
|
|
|
language: python
|
|
|
|
python: "2.7"
|
2018-06-25 10:52:16 +02:00
|
|
|
cache: pip
|
2017-01-02 17:52:58 +01:00
|
|
|
|
|
|
|
# Use the new container infrastructure
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
# Enable the docker service
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2018-06-25 10:52:16 +02:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- ANSIBLE=2.3
|
|
|
|
- ANSIBLE=2.4
|
|
|
|
- ANSIBLE=2.5
|
|
|
|
|
|
|
|
# Install tox
|
2017-01-02 17:52:58 +01:00
|
|
|
install:
|
2018-06-25 10:52:16 +02:00
|
|
|
- pip install tox-travis
|
2017-01-02 17:52:58 +01:00
|
|
|
|
2018-06-25 10:52:16 +02:00
|
|
|
# Execute tests
|
2017-01-02 17:52:58 +01:00
|
|
|
script:
|
2018-06-25 10:52:16 +02:00
|
|
|
- tox
|
2017-01-02 17:52:58 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|