Skip to content

Commit

Permalink
Merge 420180e into b1fc76c
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzleutgeb committed Sep 27, 2021
2 parents b1fc76c + 420180e commit d610f1a
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 111 deletions.
36 changes: 0 additions & 36 deletions .appveyor.yml

This file was deleted.

73 changes: 73 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ matrix.continue-on-error }}
strategy:
matrix:
continue-on-error: [false]
# We test against Java releases:
# - greater than 7
# AND
# - with LTS and in "Premier Support" phase
# OR
# - not succeeded by any other release
# No Oracle JDK >11, see
# https://blogs.oracle.com/java-platform-group/oracle-jdk-releases-for-java-11-and-later
# https://www.oracle.com/technetwork/java/java-se-support-roadmap.html
java:
# LTS and in "Premier Support" as of 2019-03 (until 2022-03)
- 8
# LTS and in "Premier Support" as of 2019-03 (until 2023-09)
- 11
# Not succeeded as of 2021-04. Scheduled to be succeeded by
# Java 17 on 2021-09-14, see http://openjdk.java.net/projects/jdk/17/
- 16
os: [ubuntu, windows]
include:
- continue-on-error: true
os: macos
java: 16
# Gradle does not yet work with Java 17. Planned for 7.3.
# https://github.com/gradle/gradle/issues/16857
#- continue-on-error: true
# os: windows
# java: 17
#- continue-on-error: true
# os: ubuntu
# java: 17
env:
# We only post coverage data for exactly one build to coveralls.
# To pick that build from the build matrix, we designate one
# Java version to be the "main" one.
MAIN_JAVA: 11
# We only post coverage data for exactly one build to coveralls.
# To pick that build from the build matrix, we designate one
# OS to be the "main" one.
MAIN_OS: ubuntu
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
architecture: x64
cache: 'gradle'

- run: ./gradlew build --stacktrace
if: runner.os != 'Windows'
- run: .\gradlew build --stacktrace
if: runner.os == 'Windows'

- run: ./gradlew jacocoTestReport coveralls
if: matrix.os == env.MAIN_OS && matrix.java == env.MAIN_JAVA
continue-on-error: true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- uses: codecov/codecov-action@v1
if: matrix.os == env.MAIN_OS && matrix.java == env.MAIN_JAVA
continue-on-error: true
74 changes: 0 additions & 74 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'java'
id 'jacoco'

id 'com.github.kt3k.coveralls' version '2.8.1'
id 'com.github.kt3k.coveralls' version '2.12.0'
}

sourceCompatibility = 1.8
Expand Down

0 comments on commit d610f1a

Please sign in to comment.