mirai/.travis.yml

34 lines
582 B
YAML
Raw Normal View History

2019-12-15 14:59:21 +08:00
language: android
#### use android since there are android components####
2019-12-15 14:50:46 +08:00
jdk:
- openjdk11
2019-12-15 15:10:21 +08:00
os: linux
2019-12-15 15:25:00 +08:00
dist: trusty
2019-12-15 15:10:21 +08:00
2019-12-15 14:50:46 +08:00
2019-12-15 14:58:10 +08:00
android:
components:
2019-12-15 15:49:32 +08:00
- tools
- platform-tools
- tools
- extra-android-m2repository
2019-12-15 15:11:54 +08:00
licenses:
2019-12-15 15:49:32 +08:00
- '.+'
- 'android-sdk-preview-license-52d11cd2'
2019-12-15 15:11:54 +08:00
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
2019-12-15 14:41:51 +08:00
2019-12-15 15:10:21 +08:00
2019-12-15 14:45:08 +08:00
before_script:
- chmod +x gradlew
2019-12-15 14:50:46 +08:00
2019-12-15 15:49:32 +08:00
before_install:
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"
2019-12-15 14:50:46 +08:00
script:
- ./gradlew clean build -i --continue