From 099bd0b86eb6d51f17bac27d1998f4028714c5d9 Mon Sep 17 00:00:00 2001 From: Benjamin Weder Date: Mon, 29 Mar 2021 14:00:35 +0200 Subject: [PATCH] Move CI build from travis to Github actions (#179) --- .github/workflows/maven.yml | 24 ++++++++++++++++++++++++ .travis.yml | 15 --------------- 2 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/maven.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..730392d4f --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,24 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Java CI with Maven + +on: + push: + branches: '**' + pull_request: + branches: '**' + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Build with Maven + run: mvn -B package --file pom.xml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fddea4be0..000000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -dist: bionic -sudo: required -language: java -jdk: - - openjdk11 -services: - - docker - -script: - # Filter Stacktraces to reduce log length significantly - # Log messages and exceptions are still shown, but without - # the attached Stacktrace - - mvn package --fail-at-end | grep -v -E 'at .*\((.*\.java:[0-9]*|Native Method)\)|o\.h\.e\.jdbc\.spi\.SqlExceptionHelper' -after_success: - - bash <(curl -s https://codecov.io/bash)