ansible-nas/.travis.yml

39 lines
642 B
YAML
Raw Normal View History

2018-12-09 23:46:41 +00:00
---
2018-12-10 22:27:35 +00:00
language: python
2018-12-09 23:46:41 +00:00
services: docker
env:
- playbook: nas.yml
distro: ubuntu1804
test_syntax: true
test_playbook: false
test_idempotence: false
2018-12-10 22:27:35 +00:00
install:
- 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:
2018-12-10 22:27:35 +00:00
- ansible-lint ${PWD}/nas.yml
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