Skip to content

Commit

Permalink
:octocat: 使用 GitHub Actions 进行持续集成测试
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 18, 2022
1 parent 26f18b7 commit 4223599
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build Test
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
cache: 'maven'
- name: Build with Maven
run: |
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pci
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<br><br>
下一代的社区系统,为未来而构建
<br><br>
<a title="Build Status" target="_blank" href="https://travis-ci.org/88250/symphony"><img src="https://img.shields.io/travis/88250/symphony.svg?style=flat-square"></a>
<a title="Build Status" target="_blank" href="https://github.com/88250/symphony/actions/workflows/ci.yml"><img src="https://img.shields.io/github/workflow/status/88250/symphony/Build%20Test?style=flat-square"></a>
<a title="Docker Image CI" target="_blank" href="https://github.com/88250/symphony/actions"><img src="https://img.shields.io/github/workflow/status/88250/symphony/Docker%20Image%20CI?label=Actions&logo=github&style=flat-square"></a>
<a title="Code Size" target="_blank" href="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/88250/symphony"><img src="https://img.shields.io/github/languages/code-size/88250/symphony.svg?style=flat-square"></a>
<a title="AGPLv3" target="_blank" href="https://www.gnu.org/licenses/agpl-3.0.txt"><img src="http:https://img.shields.io/badge/license-AGPLv3-orange.svg?style=flat-square"></a>
Expand Down
2 changes: 1 addition & 1 deletion README_en_US.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<br><br>
The next generation of the community system, built for the future
<br><br>
<a title="Build Status" target="_blank" href="https://travis-ci.org/88250/symphony"><img src="https://img.shields.io/travis/88250/symphony.svg?style=flat-square"></a>
<a title="Build Status" target="_blank" href="https://github.com/88250/symphony/actions/workflows/ci.yml"><img src="https://img.shields.io/github/workflow/status/88250/symphony/Build%20Test?style=flat-square"></a>
<a title="Docker Image CI" target="_blank" href="https://github.com/88250/symphony/actions"><img src="https://img.shields.io/github/workflow/status/88250/symphony/Docker%20Image%20CI?label=Actions&logo=github&style=flat-square"></a>
<a title="Code Size" target="_blank" href="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/88250/symphony"><img src="https://img.shields.io/github/languages/code-size/88250/symphony.svg?style=flat-square"></a>
<a title="AGPLv3" target="_blank" href="https://www.gnu.org/licenses/agpl-3.0.txt"><img src="http:https://img.shields.io/badge/license-AGPLv3-orange.svg?style=flat-square"></a>
Expand Down

0 comments on commit 4223599

Please sign in to comment.