mirror of
https://github.com/crawler-commons/crawler-commons
synced 2024-05-11 08:16:04 +02:00
Merge pull request #333 from valfirst/master
Migrate CI from Travis to GitHub Actions
This commit is contained in:
commit
c692c3a637
|
@ -0,0 +1,29 @@
|
|||
name: crawler-commons build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ 8, 11, 17 ]
|
||||
name: Java ${{ matrix.java }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: ${{ matrix.java }}
|
||||
cache: 'maven'
|
||||
|
||||
- name: Build
|
||||
run: mvn install javadoc:aggregate
|
11
.travis.yml
11
.travis.yml
|
@ -1,11 +0,0 @@
|
|||
language: java
|
||||
|
||||
jdk:
|
||||
- openjdk8
|
||||
|
||||
script:
|
||||
- mvn install javadoc:aggregate
|
||||
|
||||
notifications:
|
||||
email:
|
||||
- crawler-commons@googlegroups.com
|
|
@ -1,4 +1,4 @@
|
|||
[![Build Status](https://api.travis-ci.org/crawler-commons/crawler-commons.svg?branch=master)](https://travis-ci.org/crawler-commons/crawler-commons)
|
||||
[![Build Status](https://github.com/crawler-commons/crawler-commons/workflows/crawler-commons%20build/badge.svg)](https://github.com/crawler-commons/crawler-commons/actions?query=workflow%3A%22crawler-commons+build%22)
|
||||
[![license](https://img.shields.io/github/license/crawler-commons/crawler-commons.svg?maxAge=2592000?style=plastic)](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
# Overview
|
||||
|
|
Loading…
Reference in New Issue