forked from yegor256/cactoos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rultor.yml
29 lines (29 loc) · 871 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
docker:
image: yegor256/java8
assets:
settings.xml: zerocracy/home#assets/cactoos/settings.xml
pubring.gpg: zerocracy/home#assets/pubring.gpg
secring.gpg: zerocracy/home#assets/secring.gpg
env:
MAVEN_OPTS: -Xmx1g
JAVA_OPTS: -Xmx1g
install: |
sudo gem install --no-rdoc --no-ri pdd
sudo gem install --no-rdoc --no-ri xcop
architect:
- llorllale
- yegor256
merge:
script: |
pdd --file=/dev/null
mvn clean install -Pqulice --errors --settings ../settings.xml
mvn clean site -Psite --errors --settings ../settings.xml
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 -Pcactoos -Psonar -Pqulice -Psonatype --errors --settings ../settings.xml