Skip to content

Commit 7bcdd55

Browse files
committed
Switch from Travis CI to GitHub Actions
1 parent b9a3df6 commit 7bcdd55

File tree

4 files changed

+22
-32
lines changed

4 files changed

+22
-32
lines changed

Diff for: .github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and Test
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
java: [8, 11, 17]
9+
os: [ubuntu-22.04, windows-latest, macos-latest]
10+
runs-on: ${{ matrix.os }}
11+
name: Java ${{ matrix.Java }} Build and Test (${{ matrix.os }})
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
- name: Setup java
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: liberica
19+
java-version: ${{ matrix.java }}
20+
- name: Maven verify
21+
run: mvn -V -B verify

Diff for: .travis.yml

-16
This file was deleted.

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
[![Build Status](https://travis-ci.com/expath/expath-pkg-java.png?branch=master)](https://travis-ci.com/expath/expath-pkg-java)
2-
[![Build status](https://ci.appveyor.com/api/projects/status/jb816i3e4fh8wob3/branch/master?svg=true)](https://ci.appveyor.com/project/AdamRetter/expath-pkg-java/branch/master)
1+
[![Build Status](https://github.com/expath/expath-pkg-java/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/expath/expath-pkg-java/actions/workflows/ci.yml)
32
[![Maven Central](https://img.shields.io/maven-central/v/org.expath.packaging/pkg.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.expath.packaging%22%20AND%20a:%22pkg%22)
43
[![License](https://img.shields.io/badge/license-MPL%201.0-blue.svg)](https://opensource.org/licenses/MPL-1.0)
54

Diff for: appveyor.yml

-14
This file was deleted.

0 commit comments

Comments
 (0)