Imported Upstream version 1.8.15
[platform/upstream/doxygen.git] / .travis.yml
1 language: cpp
2 os:
3     - linux-ppc64le
4     - linux
5 dist: xenial
6 compiler:
7   - gcc
8   - clang
9 sudo: required
10
11 addons:
12     apt:
13         update: true
14         packages:
15             - texlive
16             - texlive-generic-recommended
17             - texlive-extra-utils
18             - texlive-latex-extra
19             - texlive-font-utils
20             - ghostscript
21             - libxml2-utils
22             - cmake
23             - cmake-data
24
25 jobs:
26     include:
27         - os: osx
28           compiler: clang
29
30 before_script:
31     - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
32         sudo mkdir -p /usr/local/man;
33         sudo chown -R "${USER}:admin" /usr/local/man;
34         pip install --quiet conan;
35         export HOMEBREW_NO_AUTO_UPDATE=1;
36         brew install ghostscript;
37
38         travis_wait brew cask install mactex-no-gui;
39         curl -O -L http://mirrors.ctan.org/support/epstopdf.zip;
40         unzip epstopdf.zip;
41         mkdir -p /Users/travis/Library/TeX/texbin/;
42         mv epstopdf/epstopdf.pl /Users/travis/Library/TeX/texbin/epstopdf;
43         chmod a+x /Users/travis/Library/TeX/texbin/epstopdf;
44         rm -rf epstopdf*;
45         export PATH=/Users/travis/Library/TeX/texbin:/Library/TeX/texbin:$PATH;
46
47         conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan;
48         printf "[requires]\n
49         libxml2/2.9.8@bincrafters/stable\n
50         qt/5.11.3@bincrafters/stable" >> conanfile.txt;
51         conan install . -g virtualrunenv;
52         source activate_run.sh;
53       fi;
54
55 script:
56     - mkdir build
57     - cd build
58     - cmake -G "Unix Makefiles" -Dbuild_doc=ON -Dbuild_wizard=ON ..
59     - make
60     - make tests
61     - make docs