ansible-nas/.travis.yml

44 lines
747 B
YAML
Raw Normal View History

2018-12-09 23:46:41 +00:00
---
2021-02-10 00:49:59 +00:00
dist: focal
2018-12-10 22:27:35 +00:00
language: python
2018-12-09 23:46:41 +00:00
services: docker
env:
- playbook: nas.yml
2021-02-10 00:49:59 +00:00
distro: ubuntu2004
2018-12-09 23:46:41 +00:00
test_syntax: true
test_playbook: false
test_idempotence: false
2021-02-10 00:49:59 +00:00
before_install:
- sudo apt-get -y install ansible
2018-12-10 22:27:35 +00:00
install:
2021-02-10 00:49:59 +00:00
- sudo apt install ansible
2018-12-10 22:27:35 +00:00
- pip install ansible-lint
2018-12-29 18:06:00 +00:00
- pip install mkdocs
2018-12-29 18:15:50 +00:00
- pip install mkdocs-material
2018-12-10 22:27:35 +00:00
2018-12-09 23:46:41 +00:00
script:
2020-09-02 14:32:27 +00:00
- ansible-lint ${PWD}/nas.yml -x 106,208
2018-12-29 18:06:00 +00:00
- ${PWD}/tests/test.sh
- mkdocs build
deploy:
provider: pages
skip-cleanup: true
local-dir: site/
github-token: $GHPAGES
keep-history: true
on:
2019-05-26 09:41:54 +00:00
branch: master
2020-01-06 11:39:54 +00:00
2019-05-26 09:41:54 +00:00
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/bd52710d464f2b82036b
on_success: change
on_failure: always
2020-01-06 11:39:54 +00:00
on_start: never