ansible-nas/.travis.yml
2018-12-29 18:06:00 +00:00

30 lines
No EOL
502 B
YAML

---
language: python
services: docker
env:
- playbook: nas.yml
distro: ubuntu1804
test_syntax: true
test_playbook: false
test_idempotence: false
install:
- pip install ansible-lint
- pip install mkdocs
script:
- cp ${PWD}/tests/test.yml ${PWD}/group_vars/all.yml
- ansible-lint ${PWD}/nas.yml
- ${PWD}/tests/test.sh
- mkdocs build
deploy:
provider: pages
skip-cleanup: true
local-dir: site/
github-token: $GHPAGES
keep-history: true
on:
branch: master