Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
dacfd6ce
Commit
dacfd6ce
authored
Aug 31, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis-ci enable OSX builds
parent
58d4ff15
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
18 deletions
+54
-18
.travis.yml
.travis.yml
+38
-18
qtlogging.ini
test/qtlogging.ini
+16
-0
No files found.
.travis.yml
View file @
dacfd6ce
sudo
:
true
language
:
cpp
git
:
depth
:
1
00
depth
:
5
00
os
:
-
linux
# - osx
matrix
:
include
:
-
os
:
linux
env
:
CONFIG=release
-
os
:
linux
env
:
CONFIG=debug
-
os
:
osx
osx_image
:
beta-xcode6.3
env
:
CONFIG=release
-
os
:
osx
osx_image
:
beta-xcode6.3
env
:
CONFIG=debug
cache
:
apt
:
true
env
:
-
CONFIG=release
-
CONFIG=debug
-
apt
before_install
:
-
cd ${TRAVIS_BUILD_DIR} && git fetch --unshallow
-
cd ${TRAVIS_BUILD_DIR} && git fetch --unshallow && git fetch --tags
-
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then mkdir -p $HOME/Library/Preferences/QtProject/ && echo "[Rules]\n *Log.debug=false" >> $HOME/Library/Preferences/QtProject/qtlogging.ini; fi
-
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then cp ${TRAVIS_BUILD_DIR}/test/qtlogging.ini ~/Library/Preferences/; fi
-
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then cp ${TRAVIS_BUILD_DIR}/test/qtlogging.ini ~/Library/Preferences/QtProject/; fi
install
:
-
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
mkdir -p $HOME/.config/QtProject $HOME/.config/QGroundControl.org $HOME/QGroundControl
&& sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
&& sudo apt-add-repository -y ppa:beineri/opt-qt541
&& sudo apt-get -qq update
&& sudo apt-get -qq install g++-4.8 libc6-i386 qt54tools qt54base qt54declarative qt54serialport qt54svg qt54webkit qt54quickcontrols qt54xmlpatterns qt54x11extras qt54websockets qt54sensors qt54script qt54quick1 qt54multimedia qt54location qt54imageformats qt54graphicaleffects qt54connectivity espeak libespeak-dev libopenscenegraph-dev libsdl1.2-dev libudev-dev
&& export PATH=/opt/qt54/bin:$PATH
&& export CXX="g++-4.8"
&& export CC="gcc-4.8"
&& export DISPLAY=:99.0
&& sh -e /etc/init.d/xvfb start
;
else
brew update
&& brew install qt5
&& chmod -R 755 /usr/local/opt/qt5/*
brew tap PX4/homebrew-px4
&& brew update
&& brew install qt54
&& brew linkapps qt54
&& export PATH=/usr/local/opt/qt54/bin:$PATH
;
fi
-
export DISPLAY=:99.0
-
sh -e /etc/init.d/xvfb start
before_script
:
/opt/qt54/bin/qmake CONFIG+=${CONFIG} -r qgroundcontrol.pro
before_script
:
qmake CONFIG+=${CONFIG} -r qgroundcontrol.pro
script
:
-
echo 'Building QGroundControl' && echo -en 'travis_fold:start:script.1\\r'
-
make -j4
# - if [ "${CONFIG}" = "debug" ]; then ./debug/qgroundcontrol --unittest; fi
-
echo -en 'travis_fold:end:script.1\\r'
-
echo 'Running unittests' && echo -en 'travis_fold:start:script.2\\r'
# - if [[ "${TRAVIS_OS_NAME}" = "linux" && "${CONFIG}" = "debug" ]]; then ls -ls ~; ls -ls ~/.config; ./debug/qgroundcontrol --unittest; fi
-
if [[ "${TRAVIS_OS_NAME}" = "osx" && "${CONFIG}" = "debug" ]]; then ./debug/qgroundcontrol.app/Contents/MacOS/qgroundcontrol --unittest; fi
-
echo -en 'travis_fold:end:script.2\\r'
#deploy:
# provider: releases
...
...
test/qtlogging.ini
0 → 100644
View file @
dacfd6ce
[Rules]
*
Log.debug
=
false
LinkManagerLog.debug
=
false
MAVLinkProtocolLog.debug
=
false
MockLinkLog.debug
=
false
FirmwareUpgradeLog.debug
=
false
FileManagerLog.debug
=
false
UASLog.debug
=
false
PX4AirframeLoaderLog.debug
=
false
SerialLinkLog.debug
=
false
RadioConfigTestLog.debug
=
false
PX4ParameterLoaderLog.debug
=
false
RadioComponentControllerLog.debug
=
false
VehicleLog.debug
=
false
ParameterLoaderLog.debug
=
false
FactPanelControllerLog.debug
=
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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