mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 05:30:41 +00:00
063aadd166
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>
12 lines
375 B
Bash
12 lines
375 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then
|
|
export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH
|
|
fi
|
|
|
|
echo "Submitting the folloing apk for continuous build release:"
|
|
ls -lh $TRAVIS_BUILD_DIR/apk/*.apk
|
|
|
|
# get and run the upload script
|
|
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
|
bash ./upload.sh $TRAVIS_BUILD_DIR/apk/*.apk
|