-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
45 lines (37 loc) · 1.16 KB
/
.travis.yml
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
sudo: required
android:
components:
- tools
- platform-tools
- build-tools-26.0.1
- android-26
- extra-google-m2repository
- extra-android-m2repository
- extra-android-support
jdk:
- oraclejdk8
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
install:
- sdkmanager --list || true
- echo yes | sdkmanager "tools"
- echo yes | sdkmanager "platforms;android-26"
- echo yes | sdkmanager "extras;google;m2repository"
- echo yes | sdkmanager "extras;android;m2repository"
- sdkmanager --list || true
script:
- sh disable_plugin.sh && ./gradlew clean build && ./gradlew :plugin:clean :plugin:build && sh enable_plugin.sh
notifications:
email:
deploy:
provider: script
script: echo deploying to jcenter... && sh build_all_upload_maven.sh && echo deployed to jcenter.
on:
tags: true
branch: master
after_success:
- echo I am done.