Skip to content

Commit

Permalink
Switch from Travis CI to GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Feb 16, 2022
1 parent 3c1a869 commit 574fe19
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 19 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Build and Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
jdk: [8, 11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
distribution: zulu
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Maven Build
run: mvn -V -B -DskipTests=true install
- name: Maven Test
run: mvn -B verify
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit 574fe19

Please sign in to comment.