Created
October 8, 2013 21:29
-
-
Save bjfish/6892056 to your computer and use it in GitHub Desktop.
Example Grails Travis build matrix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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