aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
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