Grails: command not found with Travis-CI
问题 I want to use Travis-CI with my Grails 3.0.9 app. For this I created a .travis.yml file: language: groovy jdk: - oraclejdk7 before_install: - curl -s get.sdkman.io | bash - source "$HOME/.sdkman/bin/sdkman-init.sh" - sdk install grails 3.0.9 - sdk default grails 3.0.9 script: grails test-app --stacktrace When the Travis-CI service wants to build my application, it ends up with this error: $ export GRAILS_HOME=/home/travis/.sdkman/candidates/grails/3.0.9/ $ export PATH=$PATH:$GRAILS_HOME/bin $