I have a repo, consisting of some files and a Symfony project in a sub directory.
我有一个repo,由子目录中的一些文件和一个Symfony项目组成。
How can I use Travis build only for the Symfony project in the sub directory of my repository?
如何仅在我的存储库子目录中的Symfony项目中使用Travis构建?
1 个解决方案
#1
12
You can specify a custom script:
command to change directory and then build the project. You can place this in your .travis.yml
to do this:
您可以指定自定义脚本:命令以更改目录,然后构建项目。您可以将它放在.travis.yml中来执行此操作:
script:
- cd <sub directory>
- <build command>
#1
12
You can specify a custom script:
command to change directory and then build the project. You can place this in your .travis.yml
to do this:
您可以指定自定义脚本:命令以更改目录,然后构建项目。您可以将它放在.travis.yml中来执行此操作:
script:
- cd <sub directory>
- <build command>