File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : cpp
22
3+ env :
4+ global :
5+ - BUILD_DOCS=false
6+
37compiler :
48 - gcc
59 - clang
610
711dist : trusty
812
13+ matrix :
14+ include :
15+ - env : BUILD_DOCS=true
16+
917before_install :
1018 - sudo apt-get update -qq
1119 - sudo apt-get install cmake libboost-python-dev libcups2-dev libhunspell-dev
1220 libhyphen-dev liblcms2-dev libpodofo-dev libtiff-dev libxml2-dev
1321 python-all-dev zlib1g-dev qtbase5-dev qtdeclarative5-dev libqt5opengl5-dev
1422 qttools5-dev qttools5-dev-tools libgraphicsmagick++1-dev
1523 libopenscenegraph-dev libpoppler-dev libcairo2-dev libwpg-dev libmspub-dev
16- libcdr-dev libvisio-dev
24+ libcdr-dev libvisio-dev doxygen graphviz
1725
1826script :
19- - if [[ $CC == gcc ]]; then
20- export NPROC=8;
27+ - |
28+ if [[ $BUILD_DOCS == false ]]; then
29+ if [[ $CC == gcc ]]; then
30+ export NPROC=8;
31+ else
32+ export NPROC=1;
33+ fi
34+
35+ cmake .
36+ make -j$NPROC
2137 else
22- export NPROC=1;
38+ cd doc
39+ doxygen
2340 fi
2441
25- - cmake .
26- - make -j$NPROC
42+ after_success :
43+ |
44+ if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'scribusproject/scribus' && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
45+ cd $TRAVIS_BUILD_DIR
46+ echo "Uploading documentation"
2747
2848notifications :
2949 email : false
You can’t perform that action at this time.
0 commit comments