-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
55 lines (55 loc) · 1.36 KB
/
Copy path.travis.yml
File metadata and controls
55 lines (55 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
language: android
jdk:
- oraclejdk8
dist: trusty
sudo: required
env:
global:
- ANDROID_BUILD_TOOLS=28.0.3
- ADB_INSTALL_TIMEOUT=5
- ANDROID_API=28
- CC=clang
- CXX=clang++
- CMAKE_C_COMPILER=clang
- CMAKE_CXX_COMPILER=clang++
android:
components:
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS
- android-$ANDROID_API
- extra-google-m2repository
- extra-android-m2repository
- extra-google-google_play_services
- addon-google_apis-google-19
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.android/build-cache"
before_install:
- openssl aes-256-cbc -K $encrypted_0fc01839c44e_key -iv $encrypted_0fc01839c44e_iv -in keystore.enc -out keystore -d
- sudo chmod +x gradlew
install:
- echo y | sdkmanager 'ndk;16.1.4479499'
- echo y | sdkmanager 'cmake;3.6.4111459'
before_script:
- touch local.properties
- "./gradlew clean"
script:
- ./gradlew assembleRelease
deploy:
- provider: releases
api_key: $GITHUB_API_TOKEN
file: app/build/outputs/apk/release/*
file_glob: true
skip_cleanup: true
on:
tags: true