Skip to content

Commit 0deb3d8

Browse files
committed
switch from travis to GitHub actions for building/verifying
1 parent d8a112f commit 0deb3d8

File tree

7 files changed

+64
-59
lines changed

7 files changed

+64
-59
lines changed

.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,5 +1,5 @@
11
<img src="https://wcm.io/images/[email protected]"/> wcm.io DevOps Tooling
22
======
3-
[![Build Status](https://travis-ci.com/wcm-io-devops/devops-tooling.png?branch=develop)](https://travis-ci.com/wcm-io-devops/devops-tooling)
3+
[![Build](https://github.com/wcm-io-devops/devops-tooling/workflows/Build/badge.svg?branch=develop)](https://github.com/wcm-io-devops/devops-tooling/actions?query=workflow%3ABuild+branch%3Adevelop)
44

55
Tooling for wcm.io DevOps projects

parent_toplevel/changes.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
2424
<body>
2525

26+
<release version="1.2.6" date="not released">
27+
<action type="update" dev="sseifert">
28+
Update to global-parent 36.
29+
</action>
30+
</release>
31+
2632
<release version="1.2.4" date="2020-05-19">
2733
<action type="update" dev="sseifert">
2834
Update to global-parent 33.

parent_toplevel/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<parent>
2626
<groupId>io.wcm.maven</groupId>
2727
<artifactId>io.wcm.maven.global-parent</artifactId>
28-
<version>33</version>
28+
<version>36</version>
2929
<relativePath />
3030
</parent>
3131

@@ -57,11 +57,6 @@
5757
<url>https://wcm-io.atlassian.net/browse/</url>
5858
</issueManagement>
5959

60-
<ciManagement>
61-
<system>Travis CI</system>
62-
<url>https://travis-ci.com/wcm-io-devops</url>
63-
</ciManagement>
64-
6560
<developers>
6661
<developer>
6762
<name>wcm.io Community</name>

public_site/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
<tag>HEAD</tag>
4747
</scm>
4848

49+
<ciManagement>
50+
<system>GitHub Actions</system>
51+
<url>https://github.com/wcm-io-devops/devops-tooling/actions</url>
52+
</ciManagement>
53+
4954
<build>
5055
<plugins>
5156

0 commit comments

Comments
 (0)