From 6cdd6567b28d2fb8d6e02d00236457f1e270fcb4 Mon Sep 17 00:00:00 2001 From: joehni Date: Mon, 2 Jan 2023 00:33:37 +0100 Subject: [PATCH] Remove Travis, add GitHub action. --- .github/workflows/maven.yml | 26 ++++++++++++++++++++++++++ .travis.yml | 25 ------------------------- README.md | 3 ++- README.txt | 1 + 4 files changed, 29 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/maven.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..be301a6ae --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,26 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: CI with Maven + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + - name: Set up JDK 17 + with: + distribution: temurin + java-version: 17 + - name: Build with Maven + run: mvn -V -B package site + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ff01f541a..000000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -dist: xenial -language: java -sudo: false -jdk: - - openjdk16 - - openjdk15 - - openjdk14 - - openjdk13 - - openjdk12 - - openjdk11 - - openjdk10 - - openjdk9 - - openjdk8 -install: true -script: - if [ "$TRAVIS_JDK_VERSION" == "openjdk16" ]; then - mkdir -p xstream/profiles/coveralls; - mkdir -p xstream-hibernate/profiles/coveralls; - mvn -V -B -e clean package jacoco:report coveralls:report; - else - mvn -V -B -e clean package; - fi -cache: - directories: - - $HOME/.m2 diff --git a/README.md b/README.md index 2a662e817..9397cef4a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -master: [![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=master)](https://travis-ci.org/x-stream/xstream) [![Coverage Status](https://coveralls.io/repos/github/x-stream/xstream/badge.svg?branch=master)](https://coveralls.io/github/x-stream/xstream?branch=master) +master: [![CI with Maven](https://github.com/x-stream/xstream/workflows/CI%20with%20Maven/badge.svg)](https://github.com/x-stream/xstream/actions?query=workflow%3A%22CI+with+Maven%22) [![Coverage Status](https://coveralls.io/repos/github/x-stream/xstream/badge.svg?branch=master)](https://coveralls.io/github/x-stream/xstream?branch=master) v-1.4.x: [![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=v-1.4.x)](https://travis-ci.org/x-stream/xstream) [![Coverage Status](https://coveralls.io/repos/github/x-stream/xstream/badge.svg?branch=v-1.4.x)](https://coveralls.io/github/x-stream/xstream?branch=v-1.4.x) - - - - @@ -18,6 +18,7 @@ includes: * [JavaDoc](http://x-stream.github.io/javadoc/index.html) * [Change History](http://x-stream.github.io/changes.html) * [Frequently Asked Questions](http://x-stream.github.io/faq.html) +* [Security](http://x-stream.github.io/security.html) ## Source The complete source for XStream is bundled in the -src archive. This includes: diff --git a/README.txt b/README.txt index 020aee104..dbe2cacfa 100644 --- a/README.txt +++ b/README.txt @@ -21,6 +21,7 @@ includes: * JavaDoc * Change History * Frequently Asked Questions + * Security --[ Source ]-------------------------------------------------