From 47ca7b821bf33e152cfb9978f6ea55becc026774 Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Sat, 17 Jul 2021 09:31:20 +0800 Subject: [PATCH] Move to GitHub actions (#2671) * Remove use of travis. * Add basic github action maven build. --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ .travis.yml | 6 ------ 2 files changed, 22 insertions(+), 6 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 00000000..983d12cc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Maven CI/CD + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build_and_test: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Build with Maven + run: mvn -B package --file pom.xml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2e7dbb32..00000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: java -jdk: - - oraclejdk8 -notifications: - email: false -dist: trusty