ansible-minio/.travis.yml

39 lines
576 B
YAML
Raw Normal View History

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:
2019-07-01 14:37:26 +02:00
- ANSIBLE=2.7
- ANSIBLE=2.8
2018-06-25 10:52:16 +02:00
# Install tox
2017-01-02 17:52:58 +01:00
install:
2018-06-25 13:43:22 +02:00
- pip install tox-travis git-semver
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
# 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
2017-01-02 17:52:58 +01:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/