Skip to content

Commit 0082854

Browse files
authored
Merge pull request #33 from YoshinoriN/ci/github-actions
chore(ci): migrate from TravisCI to GitHub Actions
2 parents 020ca9d + a82f719 commit 0082854

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
java: [11]
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Cache
14+
uses: actions/cache@v2
15+
env:
16+
cache-name: cache-sbt-libs
17+
with:
18+
path: |
19+
~/.ivy2/cache
20+
~/.sbt
21+
~/.cache/coursier/v1
22+
key: build-${{ env.cache-name }}-${{ hashFiles('build.sbt') }}
23+
- name: Set up JDK
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: ${{ matrix.java }}
27+
- name: Build executable
28+
run: sbt package

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gitbucket-monitoring-plugin
22

3-
[![](https://travis-ci.org/YoshinoriN/gitbucket-monitoring-plugin.svg?branch=master)](https://travis-ci.org/YoshinoriN/gitbucket-monitoring-plugin) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/677a69ed2e5f4137ba35986dbb02995f)](https://www.codacy.com/app/YoshinoriN/gitbucket-monitoring-plugin?utm_source=github.com&utm_medium=referral&utm_content=YoshinoriN/gitbucket-monitoring-plugin&utm_campaign=Badge_Grade)
3+
[![CI](https://img.shields.io/github/workflow/status/YoshinoriN/gitbucket-monitoring-plugin/CI/master?label=CI)](https://github.com/YoshinoriN/gitbucket-monitoring-plugin/actions)](https://travis-ci.org/YoshinoriN/gitbucket-monitoring-plugin) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/677a69ed2e5f4137ba35986dbb02995f)](https://www.codacy.com/app/YoshinoriN/gitbucket-monitoring-plugin?utm_source=github.com&utm_medium=referral&utm_content=YoshinoriN/gitbucket-monitoring-plugin&utm_campaign=Badge_Grade)
44

55
# Features
66

0 commit comments

Comments
 (0)