Skip to content

Commit a2cd3d8

Browse files
committed
Verify changes with GitHub Actions
The build on Travis CI fails. I think it is easier to enable GitHub Actions than to fix the Travis CI build. Also Travis was sold and I'm not sure about the future of Travis CI.
1 parent 318473c commit a2cd3d8

File tree

3 files changed

+26
-9
lines changed

3 files changed

+26
-9
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Java CI with Maven
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-18.04
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Set up JDK 1.8
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 1.8
20+
- name: Build with Maven
21+
run: mvn -B -Dgpg.skip verify

.travis.yml

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

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Fake SFTP Server Rule
22

3-
[![Build Status](https://travis-ci.org/stefanbirkner/fake-sftp-server-rule.svg?branch=master)](https://travis-ci.org/stefanbirkner/fake-sftp-server-rule)
3+
![Build Status Linux](https://github.com/stefanbirkner/fake-sftp-server-rule/workflows/Java%20CI%20with%20Maven/badge.svg?branch=master)
44

55
Fake SFTP Server Rule is a JUnit rule that runs an in-memory SFTP server while
66
your tests are running. It uses the SFTP server of the
@@ -190,9 +190,10 @@ want to contribute code then
190190
The basic coding style is described in the
191191
[EditorConfig](http://editorconfig.org/) file `.editorconfig`.
192192

193-
Fake SFTP Server Rule supports [Travis CI](https://travis-ci.org/) for
194-
continuous integration. Your pull request will be automatically build by Travis
195-
CI.
193+
Fake SFTP Server Rule supports
194+
[GitHub Actions](https://help.github.com/en/actions) for
195+
continuous integration. Your pull request will be automatically build by GitHub
196+
Actions.
196197

197198

198199
## Release Guide

0 commit comments

Comments
 (0)