forked from jcabi/jcabi-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jcabi/master
Sync with origin/master
- Loading branch information
Showing
105 changed files
with
3,790 additions
and
1,758 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
name: Tests | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Test | ||
run: mvn clean test --errors --batch-mode | ||
- name: CodeCov | ||
uses: codecov/[email protected] | ||
if: matrix.os == 'ubuntu-latest' && github.repository == 'jcabi/jcabi-http' | ||
timeout-minutes: 10 | ||
with: | ||
file: target/coverage/jacoco.xml | ||
|
||
lint: | ||
name: Linters | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Ruby 2.7 | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
- name: Install pdd, xcop | ||
run: | | ||
gem install pdd | ||
gem install xcop | ||
- name: JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Puzzles | ||
run: pdd --file=/dev/null | ||
- name: Qulice | ||
run: mvn -P qulice clean install -DskipTests=true --errors --batch-mode |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: OWASP | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
pull_request: | ||
branches: [ master ] | ||
|
||
|
||
jobs: | ||
owasp: | ||
name: Dependency-Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Maven | ||
run: mvn --errors --batch-mode -Powasp dependency-check:check |
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,41 +1,21 @@ | ||
architect: | ||
- yegor256 | ||
- dmarkov | ||
install: | ||
- sudo gem install pdd -v 0.20.5 | ||
- yegor256 | ||
- andreoss | ||
assets: | ||
secring.gpg: yegor256/home#assets/secring.gpg | ||
settings.xml: yegor256/home#assets/jcabi/settings.xml | ||
secring.gpg: yegor256/home#assets/secring.gpg | ||
pubring.gpg: yegor256/home#assets/pubring.gpg | ||
s3cfg: yegor256/home#assets/s3cfg | ||
install: | | ||
pdd --file=/dev/null | ||
merge: | ||
script: |- | ||
mvn clean install -Pqulice --errors --settings ../settings.xml | ||
mvn clean | ||
pdd --source=$(pwd) --verbose --file=/dev/null | ||
commanders: | ||
- carlosmiranda | ||
- darkled | ||
- dmzaytsev | ||
- ggajos | ||
- hdouss | ||
- krzyk | ||
- longtimeago | ||
- mkordas | ||
- pinaf | ||
deploy: | ||
script: |- | ||
mvn clean deploy -Pqulice --errors --settings ../settings.xml | ||
mvn clean | ||
pdd --source=$(pwd) --verbose --file=jcabi-http.xml | ||
s3cmd --no-progress put jcabi-http.xml --config=../s3cfg s3://pdd.teamed.io/jcabi-http.xml | ||
env: | ||
MAVEN_OPTS: -XX:MaxPermSize=256m -Xmx1g | ||
script: | | ||
mvn clean install -Pqulice --errors --batch-mode | ||
release: | ||
pre: false | ||
script: |- | ||
mvn versions:set "-DnewVersion=${tag}" | ||
env | ||
export JAVA_HOME=/usr/lib/jvm/default-java | ||
mvn versions:set "-DnewVersion=${tag}" --batch-mode | ||
git commit -am "${tag}" | ||
mvn clean deploy -Pqulice -Psonatype -Pjcabi -Pjcabi-http --errors --settings ../settings.xml | ||
mvn clean site-deploy -Psite -Pjcabi --errors --settings ../settings.xml | ||
commanders: | ||
- yegor256 | ||
mvn clean deploy -Pqulice -Psonatype -Pjcabi --batch-mode --errors --settings ../settings.xml | ||
mvn clean site-deploy -Psite --errors --settings ../settings.xml --batch-mode |
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
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.