TravisCI在GitHub存储库中创建APK文件

时间:2017-09-18 13:03:42

标签: android apk travis-ci

我在Android上有一个GitHub存储库,该存储库位于TravisCI上。我尝试构建APK文件并将其上传到存储库。 我在travis.yml文件中使用下面的代码:

deploy:
  provider: releases
  api_key:
    secure: "myapikey"
  file: "output/apk/sample*release*.apk"
  file_glob: "true"
  skip_cleanup: "true"
  on:
    branch: master
    repo: myuser/myproject

我在TravisCI build:

中收到以下消息
Installing deploy dependencies
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.13.1.gem (100%)
Successfully installed faraday-0.13.1
Fetching: public_suffix-3.0.0.gem (100%)
Successfully installed public_suffix-3.0.0
Fetching: addressable-2.5.2.gem (100%)
Successfully installed addressable-2.5.2
Fetching: sawyer-0.8.1.gem (100%)
Successfully installed sawyer-0.8.1
Fetching: octokit-4.6.2.gem (100%)
Successfully installed octokit-4.6.2
6 gems installed
Fetching: mime-types-2.99.3.gem (100%)
Successfully installed mime-types-2.99.3
1 gem installed
Preparing deploy
Logged in as myname
Deploying to repo: myuser/myproject
Current tag is: v7
Deploying application
Done. Your build exited with 0.

我的存储库中的APK中没有output/apk/个文件。

0 个答案:

没有答案