mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-11-25 11:55:10 +01:00
40 lines
594 B
YAML
40 lines
594 B
YAML
---
|
|
language: python
|
|
python: "2.7"
|
|
cache: pip
|
|
|
|
# Use the new container infrastructure
|
|
sudo: required
|
|
|
|
# Enable the docker service
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
matrix:
|
|
- ANSIBLE=2.4
|
|
- ANSIBLE=2.5
|
|
- ANSIBLE=2.6
|
|
|
|
# Install tox
|
|
install:
|
|
- pip install tox-travis git-semver
|
|
|
|
# Execute tests
|
|
script:
|
|
- tox
|
|
|
|
# Update Changelog and create a release (only from master branch)
|
|
deploy:
|
|
provider: script
|
|
skip_cleanup: true
|
|
script: .travis/releaser.sh
|
|
on:
|
|
branch: master
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|