From ea9b9f57cec29ab13d9f53df561e223ecc5b6f89 Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Sun, 8 Aug 2021 20:26:27 -0400 Subject: [PATCH 1/2] Drop Travis CI --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bdf3127..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: java -jdk: - - openjdk8 - - openjdk10 - - openjdk11 From 618a5e9359514a1813e26e36eed7ac157659f040 Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Sun, 8 Aug 2021 20:28:21 -0400 Subject: [PATCH 2/2] Test with GitHub Actions --- .github/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..48e8d4e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: Build/test + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + distribution: [ 'zulu', 'adopt' ] + java: [8, 11, 13, 15] + fail-fast: false + name: JDK ${{ matrix.java }} (${{ matrix.distribution }}) + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v2 + with: + distribution: ${{ matrix.distribution }} + java-version: ${{ matrix.java }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Test with Maven + run: mvn verify -B --file pom.xml