Refine travis config to only install qt4 or qt5 per build instead of both

This commit is contained in:
Gavin Bisesi 2014-11-14 10:38:54 -05:00
parent a91106f90e
commit e918900d4e
2 changed files with 17 additions and 8 deletions

View file

@ -1,13 +1,13 @@
language: cpp
env:
- QT="-DWITH_QT4=0"
- QT="-DWITH_QT4=1"
- QT4=1
- QT4=0
os:
- linux
- osx
compiler:
- gcc
- clang
script: mkdir build && cd build && cmake .. $QT -DWITH_SERVER=1 && make
script: mkdir build && cd build && cmake .. -DWITH_QT4=$QT4 -DWITH_SERVER=1 && make
install: ./travis-dependencies.sh
cache: apt