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

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -