SDKMan with Travis

07 Jan 2019

Tags: Grails, Travis CI,

In the OCI Grails/Micronaut Team, we use Travis CI and SDKMAN daily.

Using SDKMAN in Travis is possible and opens a lot of possibilities. The next, .travis.yml file will install SDKMan and create a Grails app using the latest version available.

install: true
  - oraclejdk8
  - curl -s | bash
  - source "$HOME/.sdkman/bin/"
  - echo sdkman_auto_answer=true > ~/.sdkman/etc/config
  - source "/home/travis/.sdkman/bin/"
  - sdk install grails

Published on 07 Jan 2019