From c8e99c6f8a9ab2d897dd35b1e22f747aae3b4f73 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Thu, 14 Jan 2021 17:39:24 +0100 Subject: [PATCH] Migrate from travis to github actions to test build Note that the .travis.yml is deliberately not removed as it does more than just testing the build. - update badge in README See https://github.com/hbz/lobid-resources/issues/1103. --- .github/workflows/build.yml | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..51262bc77 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,14 @@ +name: Build + +on: push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with gradle + run: ./gradlew check diff --git a/README.md b/README.md index 04ae5e361..b80bb7f87 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Metafacture](https://raw.github.com/wiki/metafacture/metafacture-core/img/metafacture.png) -[![Build status](https://travis-ci.org/metafacture/metafacture-core.svg?branch=master)](https://travis-ci.org/metafacture/metafacture-core) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=org.metafacture:metafacture-core&metric=alert_status)](https://sonarcloud.io/dashboard/index/org.metafacture:metafacture-core) +[![Build](https://github.com/metafacture/metafacture-core/workflows/Build/badge.svg)](https://github.com/hbz/lobid-resources/actions?query=workflow%3ABuild) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=org.metafacture:metafacture-core&metric=alert_status)](https://sonarcloud.io/dashboard/index/org.metafacture:metafacture-core) Metafacture is a toolkit for processing semi-structured data with a focus on library metadata. It provides a versatile set of tools for reading, writing and transforming data. Metafacture can be used as a stand-alone application or as a Java library in other applications. The name Metafacture is a portmanteau of the words *meta* data and manu*facture*.