Skip to content

Commit aa17d50

Browse files

File tree

2 files changed

+31
-48
lines changed

2 files changed

+31
-48
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
strategy:
14+
matrix:
15+
java: [ '7', '8', '11' ]
16+
runs-on: 'ubuntu-latest'
17+
env:
18+
MVN_CMD: ./mvnw --no-transfer-progress -B
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up JDK
22+
uses: actions/setup-java@v2
23+
with:
24+
java-version: ${{ matrix.java }}
25+
distribution: 'zulu'
26+
cache: 'maven'
27+
- name: Build
28+
run: ${{env.MVN_CMD}} clean install
29+
- name: Code coverage
30+
if: ${{matrix.java}} != '7'
31+
run: ${{env.MVN_CMD}} clean clover:setup test && ${{env.MVN_CMD}} -pl . clover:clover clover:check coveralls:report;

.travis.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)