Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Java CI (Maven)

on:
pull_request:
push:
branches:
- master
release:
types:
- created

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java-version: ['1.8', '11']

steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Build
run: mvn install -DskipTests=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V
env:
CI: true
- name: Test
run: mvn test -B
env:
CI: true
- name: Checkstyle
run: mvn verify -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B
env:
CI: true
- name: Generate JavaDoc
run: mvn javadoc:javadoc -B
env:
CI: true
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Java JSON Schema Generator – Module javax.validation
[![Build Status](https://travis-ci.org/victools/jsonschema-module-javax-validation.svg?branch=master)](https://travis-ci.org/victools/jsonschema-module-javax-validation)
[![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)
[![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)

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