-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
169 changed files
with
367 additions
and
9,897 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
docker: | ||
image: yegor256/java8 | ||
image: g4s8/rultor:alpine3.10 | ||
architect: | ||
- vssekorin | ||
assets: | ||
settings.xml: vssekorin/secret#cactoos-math/settings.xml | ||
pubring.gpg: vssekorin/secret#pubring.kbx | ||
secring.gpg: vssekorin/secret#pubring.kbx | ||
env: | ||
MAVEN_OPTS: -XX:MaxPermSize=256m -Xmx1g | ||
JAVA_OPTS: -XX:MaxPermSize=256m -Xmx1g | ||
install: |- | ||
sudo gem install pdd | ||
java -version | ||
settings.xml: vssekorin/home#assets/cactoos/settings.xml | ||
pubring.gpg: vssekorin/home#assets/pubring.gpg | ||
secring.gpg: vssekorin/home#assets/secring.gpg | ||
merge: | ||
script: | | ||
pdd -f /dev/null | ||
mvn clean install -Pqulice --errors --settings ../settings.xml | ||
mvn clean site -Psite --errors --settings ../settings.xml | ||
mvn clean | ||
deploy: | ||
script: | | ||
pdd -f /dev/null | ||
mvn clean deploy -Pqulice --errors --settings ../settings.xml | ||
release: | ||
sensitive: | ||
- settings.xml | ||
script: |- | ||
[[ "${tag}" =~ ^[0-9]+(\.[0-9]+)*$ ]] || exit -1 | ||
mvn versions:set "-DnewVersion=${tag}" | ||
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 | ||
gpg --import /home/r/pubring.gpg | ||
gpg --allow-secret-key-import --no-tty --batch --import /home/r/secring.gpg | ||
mvn versions:set "-DnewVersion=${tag}" --settings ../settings.xml | ||
git commit -am "${tag}" | ||
mvn clean deploy -Pqulice --errors --settings ../settings.xml | ||
architect: | ||
- VsSekorin | ||
# note: -Pcactoos is needed to have the gpg and sonar secrets injected | ||
# Sonar is disabled (was -Psonar) because sonarcloud.io only support Java 11+ | ||
mvn clean deploy -Pcactoos -Pqulice -Psonatype --errors --settings ../settings.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
language: java | ||
sudo: false | ||
jdk: | ||
- openjdk8 | ||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
script: | ||
- set -e | ||
- pdd --file=/dev/null | ||
- mvn javadoc:javadoc | ||
- mvn clean site -Psite --errors --batch-mode | ||
- mvn clean install -Pqulice --errors --batch-mode | ||
install: | ||
- gem install pdd | ||
- gem install xcop | ||
env: | ||
global: | ||
- MAVEN_OPTS="-Xmx256m" | ||
- JAVA_OPTS="-Xmx256m" | ||
jdk: | ||
- openjdk8 | ||
after_success: | ||
- "bash <(curl -s https://codecov.io/bash)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.