From 7c9d8ab18881215aa76bb5cda137b5f4aa4a809f Mon Sep 17 00:00:00 2001 From: "Sean C. Sullivan" Date: Sat, 6 Feb 2021 11:18:02 -0800 Subject: [PATCH] enable GitHub Actions CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ .travis.yml | 19 ------------------- 2 files changed, 25 insertions(+), 19 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 0000000..3227757 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + pull_request: + branches: + - master + push: + branches: + - master + +jobs: + build: + strategy: + matrix: + java: [ '8', '11', '15' ] + os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build + run: ./test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e411e6e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -language: java -sudo: false -os: -- linux -notifications: - email: false -cache: - directories: - - "$HOME/.m2/repository" - - "$HOME/.m2/wrapper" -env: - global: - - _JAVA_OPTIONS= -install: -- true -script: -- "./test" -before_cache: -- rm -fr $HOME/.m2/repository/kr/motd/maven/os-maven-plugin