Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[W-I-P] Doxygen #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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