在Travis CI中构建apk失败。但有时它可以成功构建,特别是在晚上。我不确定是网络错误还是其他原因。 SEVERE: APKit-AdkInstrumentor(1): extracting the apk failed rc = 1
Throwable occurred: aC: extracting the apk failed rc = 1
at aG.a(SourceFile:199)
at aG.a(SourceFile:155)
at aG.a(SourceFile:150)
at v.a(SourceFile:142)
at e.f
我在travis-ci中构建了我的 Android build-tools version to 23.0.3,但是构建失败了,如下所示
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> failed to find Build Tools revision 23.0.3
在我的.travis.yml中,如下所示
language: android
android:
components:
-
我在GitHub上有一个Eclipse项目。我想建立与Travis CI的自动构建测试。但是,当我为我的项目启用构建测试时,编译总是失败,出现以下错误。
Buildfile: build.xml does not exist!
Build failed
The command "ant test" exited with 1.
如何配置Travis CI以运行Java Eclipse项目的构建测试?
我在GitHub上有一个Eclipse项目。我想建立与Travis CI的自动构建测试。但是,当我为我的项目启用构建测试时,编译总是失败,出现以下错误。
Buildfile: build.xml does not exist!
Build failed
The command "ant test" exited with 1.
如何配置Travis CI以运行Java Eclipse项目的构建测试?
我在Travis CI中有一个maven项目,构建失败 gpg: keyring `/home/travis/.gnupg/secring.gpg' created
gpg: keyring `/home/travis/.gnupg/pubring.gpg' created
gpg: no default secret key: secret key not available
gpg: signing failed: secret key not available 所以我把我的.travis.yml改成 language: java
sudo: false
script:
我在build 上注意到,在标记存储库时,我忘记了增加补丁版本。然而,尽管npm发布由于已经存在的版本而失败,但构建报告为passing。
下面是日志的结尾:
Deploying application
NPM API key format changed recently. If your deployment fails, check your API key in ~/.npmrc.
http://docs.travis-ci.com/user/deployment/npm/
~/.npmrc size: 48
npm ERR! publish Failed PUT 403
npm ER
如果travis CI成功,我只想在PR上运行Github操作。我认为这可以外推到任何其他类型的CI。 目前系统是这样运行的 1) submit PR
2) Travis CI & Action run at the same time 但我想要这个流程: 1) submit PR
2) Travis CI runs
success: run Action
failure: don't run Action 我已经尝试实现了run-travis-yml,它基本上只允许我在Action中的下一步之前运行Travis CI的构建脚本;然而,我猜测实际的CI是异步的,因此它
当在模拟器上使用Gradle运行Cucumber-jvm测试时,会出现此错误。
完全相同的测试在设备上完全运行,但我需要在仿真器上运行它们才能在Travis CI上执行测试。
调试错误:
Executing task ':app:connectedDebugAndroidTest' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
deleteDir(/home/travis/build/neoranga55/Experiment-CI/app/build/outputs/
我有一个在Travis中失败的ant构建脚本,因为有一个Ant扩展点。我找不到任何文档来描述Travis支持什么版本的Ant,但是扩展点附带了1.8.0,我希望Travis的版本比这个版本更新?我目前正在Windows上构建1.9.4版本,并且在Linux上使用了类似的包含,没有问题。我的扩展点看起来像:
<include file="version.xml"
as="version"
description="Create the VersionInfo class that is used at runtim
我有一个,我在travis-ci.org上测试过。PHP中有一个小客户端,我用来测试它(它应该是一个跨语言工具)。
最近,我在我的github中更改了用户名,提交了它,并触发了travis构建。由于PHP/pear错误,它失败了:
The command "sudo pear channel-discover pear.phpunit.de" failed and exited with 1 during .
您可以在下面看到构建矩阵:
上一次提交并于去年在travis上进行了测试,一切正常,pear channel-discover命令工作正常。我只
我的travis构建突然开始失败(在before_deploy和部署之间):
Ruby ruby-2.2.5 is not installed.
The command "rvm 2.2.5 --fuzzy do ruby -S gem install dpl" failed and exited with 2 during .
怎么解决这个问题?
.travis.yaml
before_deploy:
- export PATH=$PATH:${CLOUD_SDK_PATH}/bin
- openssl aes-256-cbc -K $encrypted_c09a72752
我正在设置一个简单的NodeJS应用程序,我正在与Travis-CI集成。我用摩卡帮我做测试。然而,虽然这些测试在本地运行良好,但在部署到Openshift之前,我在Travis-CI上失败了。在弄清楚这个问题上有一些帮助是很酷的
Travis-CI输出
CAT@0.0.1 test /home/travis/build/melvrickgoh/CAT
> mocha test/
sh: 1: mocha: Permission denied
npm ERR! Test failed. See above for more details.
npm ERR! not ok code