Skip to content

Commit 82c448b

Browse files
committed
switch from travis to GitHub actions for building/verifying
1 parent 71c8ae6 commit 82c448b

5 files changed

Lines changed: 55 additions & 56 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Default build validation "clean verify" for non-experimental branches
2+
# "master" branch is excluded, it's updated only on an gitflow release
3+
4+
name: Build
5+
6+
on:
7+
push:
8+
branches-ignore:
9+
- 'master'
10+
- 'experimental/**'
11+
pull_request:
12+
branches-ignore:
13+
- 'master'
14+
- 'experimental/**'
15+
16+
jobs:
17+
build:
18+
19+
runs-on: ${{ matrix.os }}
20+
strategy:
21+
matrix:
22+
os: [ ubuntu-latest ]
23+
java: [8, 11]
24+
25+
steps:
26+
# Check out Git repository
27+
- name: Checkout code
28+
uses: actions/checkout@v2
29+
30+
# Set up environment with Java and Maven
31+
- name: Setup JDK
32+
uses: actions/setup-java@v1
33+
with:
34+
java-version: ${{ matrix.java }}
35+
36+
# Set up dependency cache
37+
- name: Cache local Maven repository
38+
uses: actions/cache@v2
39+
with:
40+
path: ~/.m2/repository
41+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
42+
restore-keys: |
43+
${{ runner.os }}-maven-
44+
45+
# Build & verify
46+
- name: Build and verify
47+
run: mvn -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean verify
48+
49+
# Run code coverage check
50+
- name: Run code coverage check
51+
run: bash <(curl -s https://codecov.io/bash)

.travis.yml

Lines changed: 0 additions & 52 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
<img src="https://wcm.io/images/favicon-16@2x.png"/> Eclipse Maven Plugin
22
======
3-
[![Build Status](https://travis-ci.com/wcm-io-devops/eclipse-maven-plugin.png?branch=develop)](https://travis-ci.com/wcm-io-devops/eclipse-maven-plugin)
3+
[![Build](https://github.com/wcm-io-devops/eclipse-maven-plugin/workflows/Build/badge.svg?branch=develop)](https://github.com/wcm-io-devops/eclipse-maven-plugin/actions?query=workflow%3ABuild+branch%3Adevelop)
44
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.wcm.devops.maven.plugins/eclipse-maven-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.wcm.devops.maven.plugins/eclipse-maven-plugin)
55

66
The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder) from a POM.

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ under the License.
2525
<parent>
2626
<groupId>io.wcm.devops</groupId>
2727
<artifactId>io.wcm.devops.parent_toplevel</artifactId>
28-
<version>1.2.0</version>
28+
<version>1.2.5-SNAPSHOT</version>
2929
<relativePath />
3030
</parent>
3131

@@ -57,8 +57,8 @@ under the License.
5757
</issueManagement>
5858

5959
<ciManagement>
60-
<system>Travis CI</system>
61-
<url>https://travis-ci.com/wcm-io-devops</url>
60+
<system>GitHub Actions</system>
61+
<url>https://github.com/wcm-io-devops/eclipse-maven-plugin/actions</url>
6262
</ciManagement>
6363

6464
<organization>

0 commit comments

Comments
 (0)