File tree 1 file changed +8
-15
lines changed
1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change
1
+
1
2
language : groovy
2
3
jdk :
3
4
- oraclejdk7
5
+ sudo : false
4
6
branches :
5
7
only :
6
8
- master
7
9
before_install :
8
- - rm -rf ~/.gvm
9
- - curl -s get.gvmtool.net > ~/install_gvm.sh
10
- - chmod 775 ~/install_gvm.sh
11
- - ~/install_gvm.sh
12
- - echo "gvm_auto_answer=true" > ~/.gvm/etc/config
13
- - source ~/.gvm/bin/gvm-init.sh
14
- - GRAILS_VERSION=`grep '^app\.grails\.version=' ./application.properties | sed -e
15
- ' s/^app\.grails\.version=//g' `
16
- - gvm install grails $GRAILS_VERSION || true
17
- before_script:
18
- - mkdir -p ~/.grails; wget -q -O ~/.grails/settings.groovy https://raw.githubusercontent.com/AtlasOfLivingAustralia/travis-build-configuration/master/travis_grails_settings_new.groovy
19
- - MAVEN_REPO="ala-repo-snapshot"; grep '^app\. version=' ./application.properties |
20
- grep -q "\- SNAPSHOT"; if [ "$?" = "1" ]; then MAVEN_REPO="ala-repo-release"; fi;
21
- script: grails clean && grails refresh-dependencies --non-interactive && grails prod
22
- war --non-interactive && grails prod maven-deploy --repository=$MAVEN_REPO --non-interactive
10
+ - wget -q https://raw.githubusercontent.com/AtlasOfLivingAustralia/travis-build-configuration/master/ala_common.sh
11
+ - chmod +x ala_common.sh
12
+ - source ./ala_common.sh
13
+ - ala_travis_grails_setup_env
14
+ script :
15
+ - ala_travis_grails_build
23
16
env :
24
17
global :
25
18
- secure : OqyYLYoeTw2ifeopsXEQnLDF8DA5j12iSH9mKGXjE6abkrhXCghWOtb+jGstRvJr/ZrpJfFK3VOkistgkf6y8/RYxB7a0MJsr+1GUXtdHhtPbUcShJDybj6AlbgPCI2J4VdIQSB+ey2XZKOMOO3+XwbsczrTHBh5KpBHdI7Tw8I=
You can’t perform that action at this time.
0 commit comments