[ 
https://issues.apache.org/jira/browse/JAMES-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206220#comment-17206220
 ] 

Juhan Aasaru commented on JAMES-3397:
-------------------------------------

I now found the earlier task about CI ( 
https://issues.apache.org/jira/browse/JAMES-3225 ) and learned about the 
initiative to use Jenkins.

I have little experience with Jenkinsfiles and gradle so I did investigate a 
bit further if some of the problems could be addressed with Travis. This 
doesn't mean that either initiative should be dropped. Rather I like the idea 
that Benoit Tellier proposed - short term (get anything to build fast) and 
long-term (get everything to built and tested with Jenkins)

With travis it is possible to run tests in parallel - I set up a small test 
case for that.

This was the script I had (testing 3 modules in parallel):

script: cd core && ../mvnw --no-transfer-progress test
- script: cd event-sourcing && ../mvnw --no-transfer-progress test
- script: cd javax-mail-extension && ../mvnw --no-transfer-progress test

And the result:

https://travis-ci.com/github/aasaru/james-project/builds/187848766

Of course I have no idea how many parallel jobs are allowed - James has a lot 
of tests. But it is possible to first run initial stage and then in the next 
stage run stuff in parallel so it is quite flexible in terms of that.

I also tried to only compile the James project with travis and it ran out of 
logfile length. I plan to work a little more on this.

 

> Set up travis-ci continuous integration to build the project and all pull 
> requests
> ----------------------------------------------------------------------------------
>
>                 Key: JAMES-3397
>                 URL: https://issues.apache.org/jira/browse/JAMES-3397
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Juhan Aasaru
>            Priority: Major
>
> continuous integration increases quality and reduces chances that some PR can 
> accidentally break the build
> I would like to work on this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to