diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ac94dd3 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,26 @@ +# Quickstart for GitHub Actions +# https://docs.github.com/en/actions/quickstart + +name: CI +on: [ push, pull_request ] +jobs: + test: + runs-on: ${{ matrix.os }} + timeout-minutes: 10 + strategy: + matrix: + os: [ ubuntu-latest ] + java: [ 8, 11, 17 ] + fail-fast: false + max-parallel: 64 + name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v3 + with: + java-version: ${{ matrix.java }} + distribution: 'zulu' + cache: 'maven' + - name: Build with Maven + run: ./mvnw -V --no-transfer-progress clean install diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 92788b4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -dist: bionic -language: java - -jdk: - - openjdk8 - - openjdk10 - - openjdk11 - -before_install: - # output env info - - ls -la - - ls -l /usr/lib/jvm && ls /usr/lib/jvm/* - - echo -e "JAVA_HOME=$JAVA_HOME\nPATH=$PATH\nSHELL=$SHELL" - -after_success: - - mvn clean cobertura:cobertura coveralls:report - - -before_cache: - # clear maven self install - - rm -rf $HOME/.m2/repository/com/oldratlee - -cache: - directories: - - $HOME/.m2 diff --git a/README.md b/README.md index a79802d..a0fb67e 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,16 @@ -Land -================================================= - -[![Build Status](https://img.shields.io/travis/com/oldratlee/land/master?logo=travis-ci&logoColor=white)](https://travis-ci.com/github/oldratlee/land) -[![Coverage Status](https://coveralls.io/repos/oldratlee/classloader-playground/badge.svg?branch=master&?logo=codecov&logoColor=white)](https://coveralls.io/r/oldratlee/classloader-playground?branch=master) -[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) -[![GitHub Stars](https://img.shields.io/github/stars/oldratlee/land)](https://github.com/oldratlee/land/stargazers) -[![GitHub Forks](https://img.shields.io/github/forks/oldratlee/land)](https://github.com/oldratlee/land/fork) -[![GitHub issues](https://img.shields.io/github/issues/oldratlee/classloader-playground.svg)](https://github.com/oldratlee/land/issues) +#
🍡 Land
+ +

+Github Workflow Build Status +JDK support +License +GitHub Stars +GitHub Forks +GitHub issues +GitHub repo size +gitpod: Ready to Code +

+