We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb6d6b commit aa17d50Copy full SHA for aa17d50
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ push:
8
9
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
0 commit comments