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
38695327
Commit
38695327
authored
Nov 18, 2014
by
woogerboy21
Browse files
Merge remote branch 'upstream/master' into servatrice_trustedsources
parents
da98d24d
6d19f8e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
38695327
language
:
cpp
language
:
cpp
env
:
-
QT4=1
-
QT4=0
os
:
os
:
-
linux
-
linux
-
osx
-
osx
compiler
:
compiler
:
-
gcc
-
gcc
-
clang
-
clang
script
:
mkdir build && cd build && cmake .. -DWITH_SERVER=1 && make
script
:
./travis-compile.sh
install
:
./travis-dependencies.sh
install
:
./travis-dependencies.sh
cache
:
apt
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 @
38695327
#!/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 @
38695327
...
@@ -2,8 +2,20 @@
...
@@ -2,8 +2,20 @@
if
[[
$TRAVIS_OS_NAME
==
"osx"
]]
;
then
if
[[
$TRAVIS_OS_NAME
==
"osx"
]]
;
then
brew update
brew update
brew
install
qt protobuf libgcrypt
if
((
QT4
))
;
then
brew
install
qt protobuf libgcrypt
else
brew
install
qt5 protobuf libgcrypt
fi
else
else
sudo
apt-get update
-qq
if
((
QT4
))
;
then
sudo
apt-get
install
-y
qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
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
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