the-one icon indicating copy to clipboard operation
the-one copied to clipboard

Travis CI support and Java build system

Open akeranen opened this issue 8 years ago • 5 comments

Would be useful to add Travis Continuous Integration (https://travis-ci.org/) support for the ONE repository. However, which build system should we use as default? Maven? Ant? Gradle?

akeranen avatar Nov 19 '15 14:11 akeranen

I think out of these bad options Gradle is the least bad (I'm not aware of any good options for Java build systems ;). However, I don't think CI is necessary for the ONE at the moment. The rate of change is low enough for manual integration, and we don't have a comprehensive test set to run against (and the master doesn't even pass the current tests :).

tk721 avatar Nov 19 '15 14:11 tk721

Well, comprehensive test set and all tests always passed is something we should have :) But I agree that this is not a high priority. I might give it a try some day out of curiosity.

akeranen avatar Nov 19 '15 18:11 akeranen

@PrincessePoney and myself forked the ONE project nearly two years ago, well before the project got hosted here on GitHub. We did add Travis CI to it (using ant for the build system). All non-passing tests of the fork were disabled in our build. This was done in order to make sure our changes wouldn't break any existing passing tests.

When choosing for a build system, we did consider ant, maven and gradle. We choose to go with ant for his availability on the lab's computers, and the fact that we didn't need the pull any deps over the network for this project.

You might want to check out what we did at the time. Our fork is based on 1.5.1 RC2 and can be found at github.com/davidsan/one. The Travis CI for the project can be found here.

davidsan avatar Nov 26 '15 17:11 davidsan

Thanks for sharing @davidsan! If we want to use ant as build system, I could copy your config, if that's OK. Building ONE is pretty straightforward, so perhaps ant is good enough.

akeranen avatar Nov 27 '15 18:11 akeranen

@davidsan : Ant is no longer available on the labs' cluster, so I moved to Maven (which is now the only one available). If I had the choice now, I wouldn't go back to Ant : its configuration is soo heavy… But Gradle seems really interesting.

So, if Maven is chosen, I can provide the config file and adapt the file hierarchy. If Gradle is preferred… well, I'd be happy to take some time to discover it.

Noctiflore avatar Dec 02 '15 22:12 Noctiflore