Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

[REPO SYNC] Update releaser.sh #120

Merged
merged 1 commit into from
Nov 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ cache: pip
services:
- docker
env:
- ANSIBLE=2.6
- ANSIBLE=2.7
- ANSIBLE=2.8
- ANSIBLE=2.9
matrix:
fast_finish: true
install:
Expand Down
2 changes: 1 addition & 1 deletion .travis/releaser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GIT_URL=${GIT_URL#*//}
GIT_TAG=none
echo "Last commit message: $TRAVIS_COMMIT_MESSAGE"
case "${TRAVIS_COMMIT_MESSAGE}" in
*"[patch]"*|*"[fix]"* ) GIT_TAG=$(git semver --next-patch) ;;
*"[patch]"*|*"[fix]"*|*"[bugfix]"* ) GIT_TAG=$(git semver --next-patch) ;;
*"[minor]"*|*"[feat]"*|*"[feature]"* ) GIT_TAG=$(git semver --next-minor) ;;
*"[major]"*|*"[breaking change]"* ) GIT_TAG=$(git semver --next-major) ;;
*) echo "Keyword not detected. Doing nothing" ;;
Expand Down
3 changes: 2 additions & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ galaxy_info:
description: Prometheus Node Exporter
license: MIT
company: none
min_ansible_version: 2.6
min_ansible_version: 2.7
platforms:
- name: Ubuntu
versions:
Expand All @@ -21,6 +21,7 @@ galaxy_info:
- name: Fedora
versions:
- 30
- 31
galaxy_tags:
- monitoring
- prometheus
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[tox]
minversion = 1.8
envlist = py{35}-ansible{26,27,28}
envlist = py{35}-ansible{27,28,29}
skipsdist = true

[travis:env]
ANSIBLE=
2.6: ansible26
2.7: ansible27
2.8: ansible28
2.9: ansible29

[testenv]
passenv = *
deps =
-rtest-requirements.txt
ansible26: ansible<2.7
ansible27: ansible<2.8
ansible28: ansible<2.9
ansible29: ansible<2.10
commands =
{posargs:molecule test --all --destroy always}