浏览代码

Travis update

inorichi 7 年之前
父节点
当前提交
51f25e96e9
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .travis.yml

+ 3 - 2
.travis.yml

@@ -1,8 +1,8 @@
 language: android
 android:
   components:
-  - build-tools-27.0.1
-  - android-26
+  - build-tools-27.0.2
+  - android-27
   - extra-android-m2repository
   - extra-google-m2repository
   - extra-android-support
@@ -10,6 +10,7 @@ android:
   licenses:
   - android-sdk-license-.+
 before_install:
+- yes | sdkmanager "platforms;android-27" # workaround for accepting the license
 - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
     openssl aes-256-cbc -K $encrypted_e56be693d4fd_key -iv $encrypted_e56be693d4fd_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d;
     tar xf secrets.tar;