Skip to content

Commit dbee40d

Browse files
committed
Migrate to Github Actions
1 parent 994b7b1 commit dbee40d

File tree

3 files changed

+53
-30
lines changed

3 files changed

+53
-30
lines changed

.github/workflows/ci.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
name: Continuous Integration
16+
17+
on:
18+
push:
19+
branches: [ '*' ]
20+
pull_request:
21+
branches: [ '*' ]
22+
23+
env:
24+
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3
25+
26+
jobs:
27+
build:
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
java: [ 8 ]
32+
name: "Java ${{ matrix.java }}"
33+
runs-on: ubuntu-22.04
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v3
37+
- name: Cache Maven Repository
38+
uses: actions/cache@v3
39+
with:
40+
path: ~/.m2/repository
41+
key: maven-java-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
42+
restore-keys: |
43+
maven-java-${{ matrix.java }}-
44+
maven-
45+
- name: Set up Java
46+
uses: actions/setup-java@v3
47+
with:
48+
distribution: 'zulu'
49+
java-version: ${{ matrix.java }}
50+
- name: Build
51+
run: mvn -B -e -Papache-release -Dgpg.skip=true install site
52+
- name: Remove Snapshots
53+
run: find ~/.m2/repository -name '*-SNAPSHOT' -a -type d -print0 | xargs -0 rm -rf

.travis-settings.xml

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

.travis.yml

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

0 commit comments

Comments
 (0)