Skip to content

Commit 3e7aef8

Browse files
authored
Merge pull request #9 from sullis/github-actions-ci
replace TravisCI with GitHub Actions
2 parents 0c16bb4 + b14c21d commit 3e7aef8

File tree

4 files changed

+41
-585
lines changed

4 files changed

+41
-585
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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: CI
16+
17+
on:
18+
pull_request:
19+
branches:
20+
- master
21+
push:
22+
branches:
23+
- master
24+
25+
jobs:
26+
build:
27+
strategy:
28+
matrix:
29+
java: [ '8', '11', '17' ]
30+
os: [ 'ubuntu-latest' ]
31+
runs-on: ${{ matrix.os }}
32+
steps:
33+
- uses: actions/checkout@v2
34+
- name: Set up JDK
35+
uses: actions/setup-java@v2
36+
with:
37+
java-version: ${{ matrix.java }}
38+
distribution: 'zulu'
39+
- name: Build
40+
run: sbt -batch "+ test"

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Log4j Scala API requires Java 8 to build. To install to your local
8282
Maven repository, execute the following:
8383

8484
```sh
85-
./sbt "+ publishM2"
85+
sbt "+ publishM2"
8686
```
8787

8888
## Contributing

0 commit comments

Comments
 (0)