From 9f22dd5db233e2ea0f2932ceed00894c39607d62 Mon Sep 17 00:00:00 2001 From: Tino Desjardins Date: Tue, 8 Aug 2023 11:01:38 +0200 Subject: [PATCH] Switch to Github actions --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ .travis.yml | 13 ------------- 2 files changed, 25 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ca8b1b7 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +# Workflow for simple build with test + +name: Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6040b45..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: java - -jdk: - - openjdk8 - - openjdk9 - -notifications: - email: false - -sudo: false -cache: - directories: - - $HOME/.m2