Skip to content

Commit 3589797

Browse files
committed
Switch from Travis CI to GitHub Actions
1 parent 73280b7 commit 3589797

File tree

4 files changed

+22
-32
lines changed

4 files changed

+22
-32
lines changed

.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

.travis.yml

-16
This file was deleted.

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-http-client-java.svg?branch=master)](https://travis-ci.com/expath/expath-http-client-java)
2-
[![Build status](https://ci.appveyor.com/api/projects/status/o090g9b807036qh6/branch/master?svg=true)](https://ci.appveyor.com/project/AdamRetter/expath-http-client-java/branch/master)
1+
[![Build Status](https://github.com/expath/expath-http-client-java/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/expath/expath-http-client-java/actions/workflows/ci.yml)
32
[![Java 8+](https://img.shields.io/badge/java-7%2B-blue.svg)](https://adoptopenjdk.net/)
43
[![License](https://img.shields.io/badge/license-MPL%201.0-blue.svg)](https://www-archive.mozilla.org/mpl/MPL-1.0.txt)
54
[![Maven Central](https://img.shields.io/maven-central/v/org.expath.http.client/http-client.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.expath.http.client%22%20AND%20a:%22http-client%22)

appveyor.yml

-14
This file was deleted.

0 commit comments

Comments
 (0)