Skip to content

Commit

Permalink
Switch from Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Jun 18, 2024
1 parent 73280b7 commit 3589797
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 32 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Test
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
java: [8, 11, 17]
os: [ubuntu-22.04, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.Java }} Build and Test (${{ matrix.os }})
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: liberica
java-version: ${{ matrix.java }}
- name: Maven verify
run: mvn -V -B verify
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[![Build Status](https://travis-ci.com/expath/expath-http-client-java.svg?branch=master)](https://travis-ci.com/expath/expath-http-client-java)
[![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)
[![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)
[![Java 8+](https://img.shields.io/badge/java-7%2B-blue.svg)](https://adoptopenjdk.net/)
[![License](https://img.shields.io/badge/license-MPL%201.0-blue.svg)](https://www-archive.mozilla.org/mpl/MPL-1.0.txt)
[![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)
Expand Down
14 changes: 0 additions & 14 deletions appveyor.yml

This file was deleted.

0 comments on commit 3589797

Please sign in to comment.