简体   繁体   English

Travis和pom.xml文件问题

[英]Issue with Travis and pom.xml file

I have a problem with Travis. 我对Travis有问题。 When I launch the build, the pom.xml file is not found and then the build fails. 当我启动构建时,找不到pom.xml文件,然后构建失败。 Can someone tell me where I'm wrong? 有人可以告诉我我错了吗? This is the repository of my Java project https://github.com/FilippoCalabrese/tapblockchain and this is the .travis.yml file 这是我的Java项目https://github.com/FilippoCalabrese/tapblockchain的存储库,这是.travis.yml文件

language: java
# skip installation step
install: true
script:
- mvn -f pom.xml clean verify

Your project structure seems good, can you try with the following file: 您的项目结构看起来不错,您可以尝试以下文件:

language: java
script: mvn test
jdk:
  - oraclejdk8

EDIT 编辑

It seems that your last build passed. 看来您的上一个版本已通过。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM