diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 000000000..62f401fb5 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,24 @@ +# This workflow will build a Java project with Gradle +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle + +name: Java CI with Gradle + +on: [push, pull_request] + +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 Gradle + run: ./gradlew build + - uses: actions/upload-artifact@v2 + with: + name: artifact + path: build/libs diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dfd0a2c13..000000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -sudo: false - -language: java -jdk: - - openjdk11 - -cache: - directories: - - '$HOME/.m2/repository' - -script: -- mvn dependency:purge-local-repository -DactTransitively=false -DreResolve=false -- mvn clean install -B -U - -install: true