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
4ad29754
Commit
4ad29754
authored
Oct 25, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2051 from dagar/travis
travis linux docker infrastructure and ccache
parents
1aad419c
43f586ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
11 deletions
+32
-11
.travis.yml
.travis.yml
+32
-11
No files found.
.travis.yml
View file @
4ad29754
...
...
@@ -13,20 +13,20 @@ matrix:
include
:
-
os
:
linux
env
:
SPEC=linux-g++-64 CONFIG=debug
sudo
:
tru
e
sudo
:
fals
e
-
os
:
linux
env
:
SPEC=linux-g++-64 CONFIG=installer
sudo
:
tru
e
sudo
:
fals
e
-
os
:
osx
osx_image
:
xcode7
env
:
SPEC=macx-clang CONFIG=debug
-
os
:
osx
osx_image
:
xcode7
env
:
SPEC=macx-clang CONFIG=installer
-
os
:
android
language
:
android
env
:
SPEC=android-g++ CONFIG=debug
sudo
:
false
#
- os: android
#
language: android
#
env: SPEC=android-g++ CONFIG=debug
#
sudo: false
-
os
:
android
language
:
android
env
:
SPEC=android-g++ CONFIG=installer
...
...
@@ -38,8 +38,25 @@ android:
-
build-tools-21.1.1
-
android-21
addons
:
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
ccache
-
espeak
-
g++-4.8
-
gcc-4.8
-
libc6-i386
-
libespeak-dev
-
libopenscenegraph-dev
-
libsdl1.2-dev
-
libudev-dev
cache
:
-
apt
directories
:
-
$HOME/.ccache
before_install
:
-
cd ${TRAVIS_BUILD_DIR} && git fetch --unshallow && git fetch --tags
...
...
@@ -49,10 +66,7 @@ before_install:
install
:
-
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
&& sudo apt-get -qq update
&& sudo apt-get -qq install g++-4.8 espeak libespeak-dev libopenscenegraph-dev libsdl1.2-dev libudev-dev
&& wget https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/Qt5.5.1-linux.tar.bz2
wget https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/Qt5.5.1-linux.tar.bz2
&& tar jxf Qt5.5.1-linux.tar.bz2 -C /tmp
&& export PATH=/tmp/Qt/5.5/gcc_64/bin:$PATH
&& export CXX="g++-4.8"
...
...
@@ -80,6 +94,13 @@ install:
before_script
:
# setup ccache
-
mkdir -p ~/bin
-
ln -s /usr/bin/ccache ~/bin/g++
-
ln -s /usr/bin/ccache ~/bin/g++-4.8
-
ln -s /usr/bin/ccache ~/bin/gcc
-
ln -s /usr/bin/ccache ~/bin/gcc-4.8
-
export PATH=~/bin:$PATH
-
if [[ "${TRAVIS_OS_NAME}" = "android" && "${CONFIG}" = "installer" && -z ${ANDROID_STOREPASS} ]]; then export CONFIG=release; fi
-
qmake -r qgroundcontrol.pro CONFIG+=${CONFIG} CONFIG+=WarningsAsErrorsOn -spec ${SPEC}
...
...
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