Skip to content

Commit 2ee36fe

Browse files
committed
build: 移除 Travis,替换为 GitHub Actions
1 parent f54f920 commit 2ee36fe

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.github/workflows/mvn-test.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: run mvn test
2+
3+
on: [ push, pull_request, workflow_dispatch ]
4+
5+
jobs:
6+
run-mvn-test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-java@v4
12+
with:
13+
distribution: 'zulu'
14+
java-version: '8'
15+
cache: maven
16+
17+
- run: |
18+
java -version
19+
mvn -v
20+
21+
- run: mvn clean test jacoco:report coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}"

.travis.yml

-6
This file was deleted.

0 commit comments

Comments
 (0)