Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (18 sloc) 547 Bytes
language: groovy
jdk:
- openjdk6
addons:
hosts:
- myshorthost
hostname: myshorthost
# before_install:
# - cat /etc/hosts # optionally check the content *before*
# - sudo hostname "$(hostname | cut -c1-63)"
# - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
# - cat /etc/hosts # optionally check the content *after*
branches:
only:
- master
script: ./grailsw clean --non-interactive
&& ./grailsw compile --non-interactive
&& ./grailsw test-app --non-interactive