Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

Commit cb4bbc7

Browse files
chore: introduce GitHub actions (#4)
1 parent c183f9d commit cb4bbc7

File tree

3 files changed

+43
-12
lines changed

3 files changed

+43
-12
lines changed

.github/workflows/maven.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Java CI (Maven)
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
release:
9+
types:
10+
- created
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
java-version: ['1.8', '11']
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up JDK ${{ matrix.java-version }}
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: ${{ matrix.java-version }}
27+
- name: Build
28+
run: mvn install -DskipTests=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V
29+
env:
30+
CI: true
31+
- name: Test
32+
run: mvn test -B
33+
env:
34+
CI: true
35+
- name: Checkstyle
36+
run: mvn verify -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B
37+
env:
38+
CI: true
39+
- name: Generate JavaDoc
40+
run: mvn javadoc:javadoc -B
41+
env:
42+
CI: true

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Java JSON Schema Generator – Module javax.validation
2-
[![Build Status](https://travis-ci.org/victools/jsonschema-module-javax-validation.svg?branch=master)](https://travis-ci.org/victools/jsonschema-module-javax-validation)
2+
[![Build Status](https://github.com/victools/jsonschema-module-javax-validation/workflows/Java%20CI%20(Maven)/badge.svg)](https://github.com/victools/jsonschema-module-javax-validation/actions?query=workflow%3A%22Java+CI+%28Maven%29%22)
33
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.victools/jsonschema-module-javax-validation/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.victools/jsonschema-module-javax-validation)
44

55
Module for the `jsonschema-generator` – deriving JSON Schema attributes from `javax.validation.constraints` annotations.

0 commit comments

Comments
 (0)