added ansible-lint to travis
[noc.git] / .travis.yml
1 ---
2 sudo: no
3 addons:
4   apt:
5     packages:
6       - graphviz
7       - ikiwiki
8       - imagemagick
9       - libimage-magick-perl
10       - libtext-markdown-discount-perl
11       - libtext-typography-perl
12       - python
13       - python-pip
14
15 install:
16   - pip install ansible
17   - pip install ansible-lint
18
19 script:
20   - cd ansible; ansible-lint _lint_roles.yml
21   - make -C doc
22
23 deploy:
24   provider: pages
25   skip-cleanup: true
26   local-dir: doc/dest
27   fqdn: noc.realraum.at
28   github-token: $GITHUB_TOKEN  # Set as a secure variable
29   keep-history: true
30   on:
31     branch: master