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
94780d8f
Commit
94780d8f
authored
Nov 19, 2014
by
Matt Lowe
Browse files
Merge branch 'master' into newsearchbar
parents
916735d6
6d19f8e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
94780d8f
language
:
cpp
env
:
-
QT4=1
-
QT4=0
os
:
-
linux
-
osx
compiler
:
-
gcc
-
clang
script
:
mkdir build && cd build && cmake .. -DWITH_SERVER=1 && make
script
:
./travis-compile.sh
install
:
./travis-dependencies.sh
cache
:
apt
notifications
:
webhooks
:
urls
:
-
https://webhooks.gitter.im/e/d94969c3b01b22cbdcb7
on_success
:
change
on_failure
:
change
on_start
:
false
travis-compile.sh
0 → 100755
View file @
94780d8f
#!/bin/bash
set
-e
mkdir
build
cd
build
prefix
=
""
if
[[
$TRAVIS_OS_NAME
==
"osx"
&&
$QT4
==
0
]]
;
then
prefix
=
"-DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.3.2/"
fi
cmake ..
-DWITH_SERVER
=
1
-DWITH_QT4
=
$QT4
$prefix
make
travis-dependencies.sh
View file @
94780d8f
...
...
@@ -2,8 +2,20 @@
if
[[
$TRAVIS_OS_NAME
==
"osx"
]]
;
then
brew update
brew
install
qt protobuf libgcrypt
if
((
QT4
))
;
then
brew
install
qt protobuf libgcrypt
else
brew
install
qt5 protobuf libgcrypt
fi
else
sudo
apt-get update
-qq
sudo
apt-get
install
-y
qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
if
((
QT4
))
;
then
sudo
apt-get update
-qq
sudo
apt-get
install
-y
qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
else
sudo
add-apt-repository
--yes
ppa:ubuntu-sdk-team/ppa
sudo
apt-get update
-qq
sudo
apt-get
install
-y
libprotobuf-dev protobuf-compiler qtbase5-dev cmake
\
qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools
\
qttools5-dev qtmultimedia5-dev libqt5svg5-dev
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