mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-12-02 12:54:29 +01:00
39 lines
576 B
YAML
39 lines
576 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.7
|
|
- ANSIBLE=2.8
|
|
|
|
# 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/
|