Skip to content

Commit

Permalink
Added Travis build files for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsachinv committed Jan 31, 2018
1 parent 24aeeec commit a792080
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: java

jdk:
- oraclejdk8

env:
- GRAILS_VERSION=3.0.17

before_install:
- rm -rf ~/.sdkman
- curl -s "https://get.sdkman.io" > ~/install_sdk.sh
- chmod 775 ~/install_sdk.sh
- ~/install_sdk.sh
- echo sdkman_auto_answer=true > ~/.sdkman/etc/config
- source ~/.sdkman/bin/sdkman-init.sh
- sdk install grails $GRAILS_VERSION || true
- chmod 775 ./build.sh

script: ./build.sh
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
grails test-app unit: --non-interactive --stacktrace && grails package-plugin

0 comments on commit a792080

Please sign in to comment.