Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Travis CI的默认工作路径是
/home/travis/build/{owner}/, 如ansj_seg项目的owner指的是组织名NLPchina,如果在Travis CI中指定了绝对路径/home/travis/build/NLPchina/,那么当fork仓库配置了自己的Travis CI,则CI会失败,因为fork用户的Travis默认工作路径并不是/home/travis/build/NLPchina/,例如我的fork仓库执行Travis的时候,工作路径是/home/travis/build/Alanscut/,因此就会报错:不存在路径/home/travis/build/NLPchina/因此如果直接使用相对路径的话,在其他开发者的fork仓库中CI也会执行成功。