diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..a9779dd6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + java: [8, 11] + steps: + - uses: actions/checkout@v2 + - name: Setup java + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Execute test + uses: eskatos/gradle-command-action@v1 + with: + arguments: build integrationTest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ab169ec6..00000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: java -# We need to keep using this dist to make oraclejdk8 installation work. -# https://travis-ci.community/t/install-of-oracle-jdk-8-failing/3038/9 -dist: trusty -jdk: - - oraclejdk8 - - openjdk11 -# https://docs.travis-ci.com/user/languages/java/#caching -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ -cache: - directories: - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ -script: - - ./gradlew build integrationTest diff --git a/README.md b/README.md index 10961f1f..a97e9477 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Decaton ======= -[![Build Status](https://travis-ci.com/line/decaton.svg?branch=master)](https://travis-ci.com/line/decaton) +[![Build Status](https://github.com/line/decaton/workflows/CI/badge.svg?branch=master)](https://github.com/line/decaton/actions?query=workflow%3ACI+branch%3Amaster+event%3Apush) Decaton is a streaming task processing framework built on top of [Apache Kafka](https://kafka.apache.org/). It is designed to enable "concurrent processing of records consumed from one partition" which isn't possible in many Kafka consumer frameworks.