mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Refine travis config to only install qt4 or qt5 per build instead of both
This commit is contained in:
parent
a91106f90e
commit
e918900d4e
2 changed files with 17 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue