aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-09-14 18:45:49 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-09-14 18:45:49 +0100
commit5ab1b085f39a01ffc3118b81f86fe61ceda3a4d0 (patch)
treeaeff60e799c2027fb84b862cb1101192dfc4a7fe /.travis.yml
parent927d7b88a14ba789f2f5758cbb153359d7c6f802 (diff)
downloadYAGE-5ab1b085f39a01ffc3118b81f86fe61ceda3a4d0.tar.gz
YAGE-5ab1b085f39a01ffc3118b81f86fe61ceda3a4d0.zip
Automatic doc generation and publishing with travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 80d86e86..e38d7715 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,3 +44,7 @@ script:
- cmake -DENABLE_TESTING=1 ..
- make
- ctest
+ - branch=$(git symbolic-ref HEAD | sed -e 's:.*/\(.*):\1:')
+ - if [ "$branch" = "master" ]; then
+ ../tools/update_docs
+ fi