mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-21 12:32:23 +08:00
travis
This commit is contained in:
parent
7d5c23bd02
commit
7334a5015a
19
.travis.yml
19
.travis.yml
@ -8,21 +8,26 @@ dist: trusty
|
|||||||
|
|
||||||
android:
|
android:
|
||||||
components:
|
components:
|
||||||
- build-tools-26
|
- tools
|
||||||
- android-26
|
- platform-tools
|
||||||
- extra
|
- tools
|
||||||
|
- extra-android-m2repository
|
||||||
licenses:
|
licenses:
|
||||||
|
- '.+'
|
||||||
|
- 'android-sdk-preview-license-52d11cd2'
|
||||||
- 'android-sdk-license-.+'
|
- 'android-sdk-license-.+'
|
||||||
- 'google-gdk-license-.+'
|
- 'google-gdk-license-.+'
|
||||||
- 'android-sdk-preview-license-.+'
|
|
||||||
- 'android-sdk-preview-license-52d11cd2'
|
|
||||||
|
|
||||||
install: true
|
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- touch $HOME/.android/repositories.cfg
|
||||||
|
- yes | sdkmanager "platforms;android-28"
|
||||||
|
- yes | sdkmanager "build-tools;28.0.3"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew clean build -i --continue
|
- ./gradlew clean build -i --continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user