From 45b86271333addb5d83852de04df0f322206eccd Mon Sep 17 00:00:00 2001 From: "Sean C. Sullivan" Date: Sat, 15 Aug 2020 11:52:55 -0700 Subject: [PATCH] migrate from Travis CI to GitHub Actions CI Signed-off-by: Sean C. Sullivan --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ .travis.yml | 35 ----------------------------------- 2 files changed, 26 insertions(+), 35 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..e58fb6d6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8', '11', '13', '14' ] + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: print Java version + run: java -version + - name: Build with Gradle + run: ./gradlew check diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5e6394fc..00000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -language: java -sudo: required -dist: trusty -#group: edge - -script: - - ./gradlew check -cache: - directories: - - $HOME/.gradle - -before_install: - - export GRADLE_OPTS=-Xmx1024m - -matrix: - include: -# JDK 7 no longer supported by Gradle 6+ -# - jdk: openjdk7 - - jdk: oraclejdk8 # JDK 1.8.0_131-b11 - - jdk: oraclejdk9 - -# Don't let Travis CI execute './gradlew assemble' by default -# From https://github.com/reactive-streams/reactive-streams-jvm/pull/383 -install: -# Display Gradle, JVM and other versions - - ./gradlew -version - -env: - global: - - TERM=dumb - - DEFAULT_TIMEOUT_MILLIS=300 - - DEFAULT_NO_SIGNALS_TIMEOUT_MILLIS=200 - - PUBLISHER_REFERENCE_GC_TIMEOUT_MILLIS=300 -addons: # Fix OpenJDK build. Issue: https://github.com/travis-ci/travis-ci/issues/5227 & https://docs.travis-ci.com/user/hostname - hostname: rs-jvm