diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a774bd0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: Build and Test +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-22.04 + strategy: + matrix: + java: [ '8', '11', '17' ] + name: Java ${{ matrix.Java }} Build and Test + steps: + - uses: actions/checkout@v4 + - name: Setup java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: ${{ matrix.java }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index acf1b75..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: java - -matrix: - include: - - jdk: openjdk8 - - jdk: openjdk9 - - jdk: openjdk11 - - jdk: openjdk15 - - - os: osx - osx_image: xcode10.2 - env: JAVA_HOME=$(/usr/libexec/java_home) - -cache: - directories: - - $HOME/.m2 diff --git a/README.md b/README.md index 31aa86a..06ad477 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # EXPath Tools Java -[![Build Status](https://travis-ci.com/expath/expath-tools-java.svg?branch=master)](https://travis-ci.com/expath/expath-tools-java) +[![Build Status](https://github.com/expath/expath-tools-java/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/expath/expath-tools-java/actions/workflows/ci.yml) [![Maven Central](https://img.shields.io/maven-central/v/org.expath.tools/tools-java.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.expath.tools%22%20AND%20a:%22tools-java%22) [![License](https://img.shields.io/badge/license-MPL%201.0-blue.svg)](https://opensource.org/licenses/MPL-1.0)