diff options
author | Anton Lundin <glance@acc.umu.se> | 2017-02-06 08:06:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-16 10:23:00 -0800 |
commit | 063aadd166db883d9195ca88bf0b74f8675c8d86 (patch) | |
tree | 83467f848c7f275309b368e6cddc79467af8a615 /.travis.yml | |
parent | c92a86f89832c5face68b94902dbd119a3b10860 (diff) | |
download | subsurface-063aadd166db883d9195ca88bf0b74f8675c8d86.tar.gz |
android: Add android build on travis-ci
This adds a android-apk-build which runs on travis-ci. This is using a
quite ugly trick, building in a docker container, basically just to get
a newer cmake. The cmake in trusty is way to old to work with android
builds.
A good side-effect is that this is a complete copy-paste for anyone who
would like to build android-binaries them self on Linux. All the
uglyness is hidden away in a docker container.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index c01c72d44..72cf07aed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,18 @@ matrix: - libhyphen-dev - libicu52 + - env: SUBSURFACE_PLATFORM="android" + # Currently hard coded to arm + os: linux + language: c++ + services: + - docker +# TODO: caching +# cache: +# timeout: 300 +# directories: +# - 3pp + before_install: - source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh |