forked from zold-io/java-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rultor.yml
30 lines (30 loc) · 947 Bytes
/
.rultor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
docker:
image: yegor256/java8
assets:
settings.xml: zerocracy/home#assets/zold/settings.xml
pubring.gpg: zerocracy/home#assets/pubring.gpg
secring.gpg: zerocracy/home#assets/secring.gpg
env:
MAVEN_OPTS: -XX:MaxPermSize=256m -Xmx1g
JAVA_OPTS: -XX:MaxPermSize=256m -Xmx1g
install: |
sudo gem install --no-rdoc --no-ri pdd
sudo gem install --no-rdoc --no-ri xcop
architect:
- yegor256
- llorllale
merge:
script: |
mvn clean install -Pqulice --errors --settings ../settings.xml
mvn clean site -Psite --errors --settings ../settings.xml
mvn clean
pdd --source=$(pwd) --verbose --file=/dev/null
deploy:
script: |
mvn clean deploy -Pqulice --errors --settings ../settings.xml
release:
script: |-
[[ "${tag}" =~ ^[0-9]+(\.[0-9]+)*$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean deploy -Pzold -Psonar -Pqulice -Psonatype --errors --settings ../settings.xml