summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorCroydon <cr0ydon@outlook.com>2019-01-06 07:04:07 (GMT)
committerCroydon <cr0ydon@outlook.com>2019-01-06 07:04:07 (GMT)
commit545645451c74c03aada68c34b1de0a3d9c04aad3 (patch)
treed1ca07b318a687c3414b47fe89334f5ae4d88de4 /.travis.yml
parent7591f4ecb548b0e55f32934e74f757795f0125f8 (diff)
downloadDoxygen-545645451c74c03aada68c34b1de0a3d9c04aad3.zip
Doxygen-545645451c74c03aada68c34b1de0a3d9c04aad3.tar.gz
Doxygen-545645451c74c03aada68c34b1de0a3d9c04aad3.tar.bz2
Travis: Handle linux-ppc64le differently
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml53
1 files changed, 37 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index b4d1000..9e68135 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,5 @@
language: cpp
-os:
- - linux
- - linux-ppc64le
+os: linux
dist: xenial
compiler:
- gcc
@@ -17,22 +15,51 @@ addons:
- texlive-latex-extra
- texlive-font-utils
- ghostscript
- - cmake
- - cmake-data
+
+linux-ppc64le: &linux-ppc64le
+ os: linux-ppc64le
+ addons:
+ apt:
+ update: true
+ packages:
+ - texlive
+ - texlive-generic-recommended
+ - texlive-extra-utils
+ - texlive-latex-extra
+ - texlive-font-utils
+ - ghostscript
+ - cmake
+ - cmake-data
jobs:
include:
+ - <<: *linux-ppc64le
+ compiler: gcc
+ - <<: *linux-ppc64le
+ compiler: clang
- os: osx
compiler: clang
before_script:
- - if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ "${TRAVIS_OS_NAME}" == "linux-ppc64le" ]; then
- conanQt="";
- conanQtOptions="";
+ - |
+ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
+ printf "[requires]
+ libxml2/2.9.8@bincrafters/stable
+ libiconv/1.15@bincrafters/stable
+ [build_requires]
+ cmake_installer/3.10.0@conan/stable" >> conanfile.txt;
+ fi;
+ if [ "${TRAVIS_OS_NAME}" == "linux-ppc64le" ]; then
+ printf "[requires]
+ libxml2/2.9.8@bincrafters/stable" >> conanfile.txt;
fi;
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
- conanQt="qt/5.11.3@bincrafters/stable";
- conanQtOptions="qt:shared=False";
+ printf "[requires]
+ libxml2/2.9.8@bincrafters/stable
+ libiconv/1.15@bincrafters/stable
+ qt/5.11.3@bincrafters/stable
+ [options]
+ qt:shared=False" >> conanfile.txt;
fi;
- if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ "${TRAVIS_OS_NAME}" == "linux-ppc64le" ]; then
pip install --quiet --user conan;
@@ -56,12 +83,6 @@ before_script:
fi;
- |
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan;
- printf "[requires]
- libxml2/2.9.8@bincrafters/stable
- libiconv/1.15@bincrafters/stable
- $conanQt
- [options]
- $conanQtOptions" >> conanfile.txt;
conan install . -g virtualrunenv --build missing --update;
source activate_run.sh;