diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 53 |
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; |