Skip to content

Commit

Permalink
#3 rultor config
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Aug 20, 2014
1 parent a710697 commit b224d86
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,30 @@ assets:
settings.xml: "yegor256/home#assets/jcabi/settings.xml"
pubring.gpg: "yegor256/home#assets/pubring.gpg"
secring.gpg: "yegor256/home#assets/secring.gpg"
s3cfg: "yegor256/home#assets/s3cfg"

env:
MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"

install:
- "sudo gem install pdd"

merge:
env:
MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"
script:
script:
- "mvn clean install -Pqulice --errors --settings ../settings.xml"
- "mvn clean"
- "pdd --source=$(pwd) --verbose --file=/dev/null"

deploy:
env:
MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"
script:
- "mvn clean deploy -Ppdd -Pqulice --errors --settings ../settings.xml"
script:
- "mvn clean deploy -Pqulice --errors --settings ../settings.xml"
- "mvn clean"
- "pdd --source=$(pwd) --verbose --file=jcabi-heroku-maven-plugin.xml"
- "s3cmd --no-progress put jcabi-heroku-maven-plugin.xml --config=../s3cfg s3://pdd.teamed.io/jcabi-heroku-maven-plugin.xml"

release:
env:
MAVEN_OPTS: "-XX:MaxPermSize=256m -Xmx1g"
script:
script:
- "mvn versions:set \"-DnewVersion=${tag}\""
- "git commit -am \"${tag}\""
- "mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml"
- "mvn clean site-deploy -Psite -Prempl --errors --settings ../settings.xml"
- "mvn clean site-deploy -Psite --errors --settings ../settings.xml"

0 comments on commit b224d86

Please sign in to comment.