ansible-nas/.travis.yml

19 lines
329 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-09 23:46:41 +00:00
script:
- cp ${PWD}/tests/all.yml.test ${PWD}/group_vars/test.yml
2018-12-10 22:27:35 +00:00
- ansible-lint ${PWD}/nas.yml
2018-12-09 23:46:41 +00:00
- ${PWD}/tests/test.sh