blob: a03abc813bcb25111b6b9caf143efcc8b8158e19 (
plain)
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
|
language: android
jdk:
- oraclejdk8
android:
components:
- tools
# - android-21
- platform-tools
- tools
- build-tools-27.0.1
- android-27
- extra-android-support
- extra-android-m2repository
- extra-google-m2repository
licenses:
- ".+"
#before_script:
#- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
#- emulator -avd test -no-audio -no-window &
#- android-wait-for-emulator
#- adb shell input keyevent 82 &
script:
- chmod +x gradlew
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then ./gradlew lintRelease publishRelease; else ./gradlew lintRelease test; fi
branches:
except:
- gh-pages
- l10n_dev
notifications:
email: false
slack:
rooms:
- pitchedapps:G5OB9U1vsDxy9mxt0Nt6gbFu#kau
on_success: always
on_failure: always
cache:
directories:
- "$HOME/.m2"
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
before_install:
- openssl aes-256-cbc -K $encrypted_12e8842891a3_key -iv $encrypted_12e8842891a3_iv
-in files/kau.tar.enc -out kau.tar -d
- tar xvf kau.tar
|