mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
try out github actions over travis
This commit is contained in:
parent
4ada3f8ab9
commit
ab56d914ce
1 changed files with 26 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- github-actions
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 8
|
||||
cache: maven
|
||||
|
||||
# https://docs.travis-ci.com/user/languages/java/#maven-dependency-management
|
||||
- run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
|
||||
# https://docs.travis-ci.com/user/languages/java/#maven-default-script-command
|
||||
- run: mvn test -B
|
||||
Loading…
Add table
Add a link
Reference in a new issue