How can I compile a project two different ways in Travis CI? -



How can I compile a project two different ways in Travis CI? -

i have project written using qt back upwards both qt4 , qt5.

currently have travis configured compile project using both gcc , clang on linux , osx.

i'd farther split project builds both qt4 , qt5 separate builds well, 8 different permutations in total splitting on os, compiler, , qt version.

my current travis.yml is

language: cpp os: - linux - osx compiler: - gcc - clang script: mkdir build && cd build && cmake .. -dwith_server=1 && create install: ./travis-dependencies.sh cache: apt

qt4 vs qt5 selection configured using additional cmake parameters.

how can alter split build matrix further?

the recommendation travis back upwards team utilize environment variables split build:

language: cpp env: - qt="-dwith_qt4=0" - qt="-dwith_qt4=1" os: - linux - osx compiler: - gcc - clang script: mkdir build && cd build && cmake .. $qt -dwith_server=1 && create install: ./travis-dependencies.sh cache: apt

travis-ci

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -