Skip to content

Commit

Permalink
VIVO-1960: GitHub Build Action (vivo-project#210)
Browse files Browse the repository at this point in the history
* add build workflow
* remove travis
* update readme badge

Partially resolves: https://jira.lyrasis.org/browse/VIVO-1960
  • Loading branch information
William Welling authored Feb 9, 2021
1 parent 8b9a748 commit 06d9f5d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 23 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on: [ push, pull_request, workflow_dispatch ]

jobs:
build:
runs-on: ubuntu-latest

env:
MAVEN_OPTS: -Xmx1024M

steps:
- uses: actions/checkout@v2

- name: Maven Cache
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-cache-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-cache-m2-

- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Maven Build
run: mvn clean package -Dmaven.test.skip=false
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# What is Vitro?

[![Build Status](https://travis-ci.org/vivo-project/Vitro.png?branch=develop)](https://travis-ci.org/vivo-project/Vitro)
[![Build](https://github.com/vivo-project/Vitro/workflows/Build/badge.svg)](https://github.com/vivo-project/Vitro/actions?query=workflow%3ABuild)

Vitro is a general-purpose web-based ontology and instance editor with customizable public browsing.

Expand Down

0 comments on commit 06d9f5d

Please sign in to comment.