Skip to content

Commit

Permalink
Merge pull request #297 from pusher/tech/migrate-to-github-actions-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrbrowne authored Apr 19, 2021
2 parents e02f458 + d3880d4 commit 16ab490
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pusher-websocket-java CI

on:
pull_request:
push:
branches: [master, main]

jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java-version: [8, 9, 10, 11]

steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: "${{ matrix.java-version }}"
distribution: "adopt"
- name: Build & Test
run: ./gradlew jacocoTestReport test
- name: Code coverage
run: bash <(curl -s https://codecov.io/bash)
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 16ab490

Please sign in to comment.