Add Android to Travis

This commit is contained in:
Florian Märkl 2019-09-23 15:04:10 +02:00
commit b41bb3178a
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -90,6 +90,28 @@ matrix:
- export DEPLOY_FILE="Chiaki-macOS-${CHIAKI_VERSION}-x86_64.dmg" - export DEPLOY_FILE="Chiaki-macOS-${CHIAKI_VERSION}-x86_64.dmg"
- mv Chiaki.dmg "$DEPLOY_FILE" - mv Chiaki.dmg "$DEPLOY_FILE"
- name: Android
language: android
os: linux
dist: trusty
android:
components:
- build-tools-29.0.2
- android-29
addons:
apt:
packages:
- python3-pip
install:
- echo y | sdkmanager "ndk-bundle"
- echo y | sdkmanager "cmake;3.10.2.4988404"
- sudo pip3 install protobuf
- scripts/fetch-protoc.sh
- export PATH="$TRAVIS_BUILD_DIR/protoc/bin:$PATH"
script:
- cd android
- ./gradlew assembleRelease
- name: "Source Package" - name: "Source Package"
os: linux os: linux
dist: bionic dist: bionic