Skip to content

Commit

Permalink
build: 移除 Travis,替换为 GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stick-i committed Oct 12, 2024
1 parent f54f920 commit a826459
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/mvn-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: run mvn test

on: [ push, pull_request, workflow_dispatch ]

jobs:
run-mvn-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: maven

- run: |
java -version
mvn -v
- run: mvn clean verify
- run: mvn clean test jacoco:report coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}"
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit a826459

Please sign in to comment.