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