Skip to content

Instantly share code, notes, and snippets.

@bjfish
Created October 8, 2013 21:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjfish/6892056 to your computer and use it in GitHub Desktop.
Save bjfish/6892056 to your computer and use it in GitHub Desktop.
Example Grails Travis build matrix
language: groovy
jdk:
- oraclejdk6
env:
- GRAILS_VERSION=2.2.4
- GRAILS_VERSION=2.2.3
- GRAILS_VERSION=2.2.2
- GRAILS_VERSION=2.2.1
- GRAILS_VERSION=2.2.0
before_install:
- rm -rf ~/.gvm
- curl -s get.gvmtool.net > ~/install_gvm.sh
- chmod 775 ~/install_gvm.sh
- ~/install_gvm.sh
- echo "gvm_auto_answer=true" > ~/.gvm/etc/config
- source ~/.gvm/bin/gvm-init.sh
- gvm install grails $GRAILS_VERSION || true
branches:
only:
- master
script: grails clean && grails upgrade --non-interactive && grails test-app --non-interactive --stacktrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment