From b6ade7f859b357b47ca821eec3aadc8854c367a0 Mon Sep 17 00:00:00 2001 From: Gary O'Neall Date: Fri, 26 Feb 2021 22:17:06 -0800 Subject: [PATCH] Switch to Github Actions Signed-off-by: Gary O'Neall --- .github/workflows/maven.yml | 24 ++++++++++++++++++++++++ .travis.yml | 16 ---------------- 2 files changed, 24 insertions(+), 16 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 0000000..74c342f --- /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: [ master ] + pull_request: + branches: [ master ] + +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 ea5f521..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: java - -jdk: - - openjdk8 - -notifications: - email: - recipients: - - gary@sourceauditor.com - - ybronshteyn@blackducksoftware.com - on_success: change - on_failure: always -after_success: -- mvn com.blackducksoftware.integration:hub-maven-plugin:1.4.0:createHubOutput -Dhub.output.directory=. -- bash <(curl -s https://copilot.blackducksoftware.com/bash/travis) ./*_bdio.jsonld -