diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-09 10:06:05 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-09 10:06:05 +0300 |
commit | d9c75443844eef8566a76603244bbe552ffcf921 (patch) | |
tree | 768f2fb55efaccf82359fe2eb66aa287dd97ce95 /.travis.yml | |
parent | 48942c2b71e6b2c0c4cb128e532a75f260e26151 (diff) |
Merge the travis docs generation and push stuff from Outcome
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 5edee756..81db15ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,11 @@ addons: - python3 - cmake - cmake-data + - doxygen env: - __="cmake tests" NAME=TravisLinuxWorker + - __="Documentation" NAME=TravisDocumentation cache: apt: true @@ -52,7 +54,25 @@ before_install: script: - if [ "$__" = "cmake tests" ]; then + TARNAME=boost.afio-v2.0-source-`date +%Y%m%d%H%M`.tar.xz; + tar cfJ ../$TARNAME . --exclude llvm* --exclude .git; CXX=g++-6 ctest -S .ci.cmake -V; + # && curl --data-binary @../$TARNAME https://dedi4.nedprod.com/static/files/upload/$TARNAME; + fi + - + if [ "$__" = "Documentation" ]; then + git config --global push.default simple; + git config --global user.name "Jenkins nedprod CI"; + git config --global user.email "foo@nowhere"; + cd doc/html; + git checkout gh-pages; + cd ../..; + CXX=g++-6 ctest -S .docs.cmake -V; + cd doc/html; + git add . || true; + git commit -a -m "Travis CI updates documentation" || true; + git push -f https://jenkins-nedprod:$JENKINS_NEDPROD_PASSWORD@github.com/ned14/boost.afio gh-pages; + cd ../..; fi after_success: |