From 506ee244116ec1ab8e7019307175f31987c5fc7b Mon Sep 17 00:00:00 2001 From: Billy Olsen Date: Wed, 2 Jun 2021 20:09:56 -0700 Subject: [PATCH] Migrate to github actions Travis-ci.org is going away. Migrate to github actions instead of migrating over to travis-ci.com. Signed-off-by: Billy Olsen --- .github/workflows/build.yml | 18 ++++++++++++++++++ README.md | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..638f7df88 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Java + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Ant build + run: ant -noinput -buildfile build.xml clean check jar unittest + diff --git a/README.md b/README.md index a0753434c..862d4b574 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ OpenRocket ========== -[![Build Status](https://travis-ci.org/openrocket/openrocket.png) ](https://travis-ci.org/openrocket/openrocket) +![Build Status](https://github.com/openrocket/openrocket/actions/workflows/build.yml/badge.svg) [![SourceSpy Dashboard](https://sourcespy.com/shield.svg)](https://sourcespy.com/github/openrocketopenrocket/) Overview