Software Development

Build/Install Maven Projects in Separate Directors in Travis CI via GitHub

This blog demonstrates how to build/install maven projects in separate directories in Travis CI via GitHub.com.

One Repository, one Maven project

Normally, you would have one project in a particular GitHub repository. You could also have a single parent project with multiple child projects.

[wp_ad_camp_1]

But what if you have projects in separate directories?

You could build them one by one.

.travis.yml

You could instruct Travis CI to build/install each project. Consider this .travis.yml file.

[wp_ad_camp_2]

Mvn Install Log Output

You may check the output log for this at

https://travis-ci.org/Turreta/spring-rest-template-demo

[wp_ad_camp_3]

Loading

Got comments or suggestions? We disabled the comments on this site to fight off spammers, but you can still contact us via our Facebook page!.


You Might Also Like