From 96905aaab059754a35188c8f21627d43e9e74b67 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 20 Feb 2020 19:40:50 +0100 Subject: [PATCH] Add travis --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..764c2f7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +--- +# OS Details +os: linux +language: python +python: '3.8' + +cache: + pip: true + +# Install ansible and ansible-lint +install: + - pip install ansible + - pip install ansible-lint + +# testing galaxy install and ansible lint +# more advanced testing is currently handled with +# github actions. The gh-actions for our test are there: +# https://github.com/roles-ansible and are tagged +# with 'github-actions' --> https://github.com/search?q=topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories +script: + - ansible-galaxy install do1jlr.ranger + - ansible-lint . + - echo -e "\n\n\n\n\nWe use github actions for more detailed tests.\n\nMore details about that in our github repo at:\nhttps://github.com/chaos-bodensee/role-ansible_version/actions\n\n\n\n\n\n" + +notifications: + webhooks: https://galaxy.ansible.com/api/v1/notifications/