Add Travis CI build for the documentation
authornicoo <nicoo@realraum.at>
Sat, 7 Jul 2018 20:12:04 +0000 (22:12 +0200)
committernicoo <nicoo@realraum.at>
Sat, 7 Jul 2018 20:41:00 +0000 (22:41 +0200)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..f309faf
--- /dev/null
@@ -0,0 +1,22 @@
+---
+sudo: no
+addons:
+  apt:
+    packages:
+      - graphviz
+      - ikiwiki
+      - imagemagick
+      - libtext-markdown-discount-perl
+      - libtext-typography-perl
+
+script: make -C doc
+
+deploy:
+  provider: pages
+  skip-cleanup: true
+  local-dir: doc/dest
+  fqdn: noc.realraum.at
+  github-token: $GITHUB_TOKEN  # Set as a secure variable
+  keep-history: true
+  on:
+    branch: master