Skip to content

Commit

Permalink
Merge pull request #4 from vsachinv/travis-build
Browse files Browse the repository at this point in the history
Added Travis build files for testing.
  • Loading branch information
vsachinv authored Jan 31, 2018
2 parents 24aeeec + 4641b7a commit 2277a34
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 2277a34

Please sign in to comment.