Skip to content

Commit

Permalink
Switch to gh actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel committed Apr 1, 2021
1 parent 25064c2 commit 8acde2d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 42 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build

on: [ pull_request ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -s settings.xml clean install -Pintegration -Ppersistence-integration -DpreferIpv4 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer=warn -B
env:
MAVEN_OPTS: "-Xms1524M -Xmx1524M"
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

0 comments on commit 8acde2d

Please sign in to comment.