summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorCroydon <cr0ydon@outlook.com>2018-10-09 16:19:19 (GMT)
committerCroydon <cr0ydon@outlook.com>2019-01-06 06:07:37 (GMT)
commitdb333f1e406a76ddbdffd8e7ee7a28499d3a8516 (patch)
treec6eb22fc655968cefa3d496f2f234faaec90fbad /.travis.yml
parent6485370876322023eee45bef67cd10e47ac7b092 (diff)
downloadDoxygen-db333f1e406a76ddbdffd8e7ee7a28499d3a8516.zip
Doxygen-db333f1e406a76ddbdffd8e7ee7a28499d3a8516.tar.gz
Doxygen-db333f1e406a76ddbdffd8e7ee7a28499d3a8516.tar.bz2
Travis: Install libiconv and libxml via Conan
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 20 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index dd006d4..d171652 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
language: cpp
os:
- - linux-ppc64le
- linux
+ - linux-ppc64le
dist: xenial
compiler:
- gcc
@@ -18,7 +18,6 @@ addons:
- texlive-latex-extra
- texlive-font-utils
- ghostscript
- - libxml2-utils
- cmake
- cmake-data
@@ -28,7 +27,19 @@ jobs:
compiler: clang
before_script:
+ - if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ "${TRAVIS_OS_NAME}" == "linux-ppc64le" ]; then
+ conanQt="";
+ conanQtOptions="";
+ fi;
+ if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
+ conanQt="qt/5.11.3@bincrafters/stable";
+ conanQtOptions="qt:shared=False";
+ fi;
+ - if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ "${TRAVIS_OS_NAME}" == "linux-ppc64le" ]; then
+ pip install --quiet --user conan;
+ fi;
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
+ pip install --upgrade pip;
sudo mkdir -p /usr/local/man;
sudo chown -R "${USER}:admin" /usr/local/man;
pip install --quiet conan;
@@ -43,14 +54,17 @@ before_script:
chmod a+x /Users/travis/Library/TeX/texbin/epstopdf;
rm -rf epstopdf*;
export PATH=/Users/travis/Library/TeX/texbin:/Library/TeX/texbin:$PATH;
-
+ fi;
+ - |
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan;
printf "[requires]
libxml2/2.9.8@bincrafters/stable
- qt/5.11.3@bincrafters/stable" >> conanfile.txt;
- conan install . -g virtualrunenv;
+ libiconv/1.15@bincrafters/stable
+ $conanQt
+ [options]
+ $conanQtOptions" >> conanfile.txt;
+ conan install . -g virtualrunenv --build missing --update;
source activate_run.sh;
- fi;
script:
- mkdir build