On my machine, I need ~10 minutes to do a clean install without tests. Not sure what is causing the slow builds in your environment. I think our builds are both IO (shading) and CPU (Scala compiler) intensive. If one is not well equipped you'll have these build times.
I contacted the Travis support to hear if there's anything we can do regarding the time limit. On Wed, Dec 14, 2016 at 3:52 AM, Henry Saputra <henry.sapu...@gmail.com> wrote: > Building Flink from root now takes long time due to more and more modules > that we have =( > For me if takes about 50 minutes or more when doing "mvn clean install > -DskipTests" > > Should we start adding Maven profiles to help exclude some Maven modules, > like connectors and flink-libraries by default ? > > Do you guys see the same behavior? > > - Henry > > On Thu, Nov 10, 2016 at 1:35 PM, Ufuk Celebi <u...@apache.org> wrote: > > > I also just noticed it today. We used to work with the 120 minutes limit > > and the builds took way longer as you said. I don't know what's going on > > here... > > > > It might be related to some issues they reported a few hours ago ( > > https://twitter.com/traviscistatus), but I can't tell. > > > > I really hope that the new env is temporary (although the reduced build > > time is indeed nice ;)). Let's monitor this... > > > > – Ufuk > > > > On 10 November 2016 at 22:15:51, Greg Hogan (c...@greghogan.com) wrote: > > > We're getting the dreaded "The job exceeded the maximum time limit for > > > jobs, and has been terminated." error for some recent Travis-CI builds. > > > https://travis-ci.org/apache/flink/builds/174615801 > > > > > > The docs state that termination will occur when "A job takes longer > than > > 50 > > > minutes on travis-ci.org", which applies to Flink as well as user > GitHub > > > accounts. > > > https://docs.travis-ci.com/user/customizing-the-build/#Build-Timeouts > > > > > > The jobs are running much faster now, as our builds have consistently > > taken > > > over an hour and up to an hour and a half. The following recently > > > successful build looks to be a mix of fast and slow jobs. > > > https://travis-ci.org/apache/flink/builds/174596630 > > > > > > Greg > > > > > > > >