Skip to content

Commit

Permalink
DOxygen part-1
Browse files Browse the repository at this point in the history
  • Loading branch information
OceanWolf committed Sep 8, 2015
1 parent 5162c33 commit 631ca51
Show file tree
Hide file tree
Showing 2 changed files with 2,399 additions and 6 deletions.
32 changes: 26 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,49 @@
language: cpp

env:
global:
- BUILD_DOCS=false

compiler:
- gcc
- clang

dist: trusty

matrix:
include:
- env: BUILD_DOCS=true

before_install:
- sudo apt-get update -qq
- sudo apt-get install cmake libboost-python-dev libcups2-dev libhunspell-dev
libhyphen-dev liblcms2-dev libpodofo-dev libtiff-dev libxml2-dev
python-all-dev zlib1g-dev qtbase5-dev qtdeclarative5-dev libqt5opengl5-dev
qttools5-dev qttools5-dev-tools libgraphicsmagick++1-dev
libopenscenegraph-dev libpoppler-dev libcairo2-dev libwpg-dev libmspub-dev
libcdr-dev libvisio-dev
libcdr-dev libvisio-dev doxygen graphviz

script:
- if [[ $CC == gcc ]]; then
export NPROC=8;
- |
if [[ $BUILD_DOCS == false ]]; then
if [[ $CC == gcc ]]; then
export NPROC=8;
else
export NPROC=1;
fi
cmake .
make -j$NPROC
else
export NPROC=1;
cd doc
doxygen
fi
- cmake .
- make -j$NPROC
after_success:
|
if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'scribusproject/scribus' && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
cd $TRAVIS_BUILD_DIR
echo "Uploading documentation"

notifications:
email: false
Expand Down
Loading

0 comments on commit 631ca51

Please sign in to comment.