Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
4b478efa
Commit
4b478efa
authored
Nov 10, 2014
by
Gavin Bisesi
Browse files
Build both Qt4 and Qt5
parent
3c0a09bf
Changes
2
Show whitespace changes
Inline
Side-by-side
.travis.yml
View file @
4b478efa
language
:
cpp
language
:
cpp
env
:
-
QT="-DWITH_QT4=0"
-
QT="-DWITH_QT4=1"
os
:
os
:
-
linux
-
linux
-
osx
-
osx
compiler
:
compiler
:
-
gcc
-
gcc
-
clang
-
clang
script
:
mkdir build && cd build && cmake .. -DWITH_SERVER=1 && make
script
:
mkdir build && cd build && cmake ..
$QT
-DWITH_SERVER=1 && make
install
:
./travis-dependencies.sh
install
:
./travis-dependencies.sh
cache
:
apt
cache
:
apt
travis-dependencies.sh
View file @
4b478efa
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
if
[[
$TRAVIS_OS_NAME
==
"osx"
]]
;
then
if
[[
$TRAVIS_OS_NAME
==
"osx"
]]
;
then
brew update
brew update
brew
install
qt protobuf libgcrypt
brew
install
qt
qt5
protobuf libgcrypt
else
else
sudo
apt-get update
-qq
sudo
apt-get update
-qq
sudo
apt-get
install
-y
qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
sudo
apt-get
install
-y
qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
qt5-default qttools5-dev-tools
fi
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment