NexusSandbox / inevitable

Constructor of block and table text
MIT License
1 stars 1 forks source link

Setup travis #2

Open AnEmortalKid opened 5 years ago

AnEmortalKid commented 5 years ago

Travis is nice enough to let OSS libraries build for free. We should take advantage of that for PR bulders.

https://docs.travis-ci.com/user/tutorial/#to-get-started-with-travis-ci

NewtrinoPiGui commented 5 years ago

Good idea, though slight complication, Kotlin does not appear to be a supported programming language for their CI: https://docs.travis-ci.com/user/languages/

I believe this can be worked around by bundling the Kotlin SDK with the project, at the expense of a larger package size. I think this is a good option if they do intend on eventually supporting Kotlin, and just haven't gotten around to it yet. I'll do additional research, and possibly log an issue with them if not.

NewtrinoPiGui commented 5 years ago

Also, still looking up other options like: https://oss.jfrog.org/artifactory/webapp/#/home

AnEmortalKid commented 5 years ago

Could we have the regular java language but the script reference gradle? If we add the gradle wrapper to the repository, we can reference it within Travis as the build script

./gradlew build

https://docs.gradle.org/current/userguide/gradle_wrapper.html