Skip to content

Commit 8626b18

Browse files
committed
switch from travis to GitHub actions for building/verifying
1 parent 1ddb13f commit 8626b18

9 files changed

Lines changed: 68 additions & 66 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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+
# Build & verify example
50+
- name: Build and verify example
51+
run: mvn -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean verify -f example
52+
53+
# Run code coverage check
54+
- name: Run code coverage check
55+
run: bash <(curl -s https://codecov.io/bash)

.travis.yml

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<img src="https://wcm.io/images/favicon-16@2x.png"/> CONGA Plugin for AEM
22
======
3-
[![Build Status](https://travis-ci.com/wcm-io-devops/conga-aem-plugin.png?branch=develop)](https://travis-ci.com/wcm-io-devops/conga-aem-plugin)
3+
[![Build](https://github.com/wcm-io-devops/conga-aem-plugin/workflows/Build/badge.svg?branch=develop)](https://github.com/wcm-io-devops/conga-aem-plugin/actions?query=workflow%3ABuild+branch%3Adevelop)
44
[![Code Coverage](https://codecov.io/gh/wcm-io-devops/conga-aem-plugin/branch/develop/graph/badge.svg)](https://codecov.io/gh/wcm-io-devops/conga-aem-plugin)
55

66
Documentation: https://devops.wcm.io/conga/plugins/aem/<br/>
77
Issues: https://wcm-io.atlassian.net/projects/WDCONGA<br/>
88
Wiki: https://wcm-io.atlassian.net/wiki/<br/>
9-
Continuous Integration: https://travis-ci.com/conga-aem-plugin<br/>
9+
Continuous Integration: https://github.com/wcm-io-devops/conga-aem-plugin/actions<br/>
1010
Commercial support: https://wcm.io/commercial-support.html
1111

1212

1313
## Build from sources
1414

1515
If you want to build from sources make sure you have configured all [Maven Repositories](https://devops.wcm.io/maven.html) in your settings.xml.
1616

17-
See [Travis Maven settings.xml](https://github.com/conga-aem-plugin/blob/master/.travis.maven-settings.xml) for an example with a full configuration.
17+
See [Maven Settings](https://github.com/wcm-io-devops/conga-aem-plugin/blob/develop/.maven-settings.xml) for an example with a full configuration.
1818

1919
Then you can build using
2020

conga-aem-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<parent>
2626
<groupId>io.wcm.devops</groupId>
2727
<artifactId>io.wcm.devops.parent_toplevel</artifactId>
28-
<version>1.2.4</version>
28+
<version>1.2.5-SNAPSHOT</version>
2929
<relativePath />
3030
</parent>
3131

example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<groupId>io.wcm.maven</groupId>
2828
<artifactId>io.wcm.maven.global-parent</artifactId>
29-
<version>33</version>
29+
<version>36</version>
3030
<relativePath/>
3131
</parent>
3232

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>io.wcm.devops</groupId>
2525
<artifactId>io.wcm.devops.parent_toplevel</artifactId>
26-
<version>1.2.4</version>
26+
<version>1.2.5-SNAPSHOT</version>
2727
<relativePath />
2828
</parent>
2929

@@ -43,6 +43,11 @@
4343
<tag>HEAD</tag>
4444
</scm>
4545

46+
<ciManagement>
47+
<system>GitHub Actions</system>
48+
<url>https://github.com/wcm-io-devops/conga-aem-plugin/actions</url>
49+
</ciManagement>
50+
4651
<properties>
4752
<site.url.module.prefix>conga/plugins/aem</site.url.module.prefix>
4853
</properties>

tooling/conga-aem-crypto-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<parent>
2626
<groupId>io.wcm.devops</groupId>
2727
<artifactId>io.wcm.devops.parent_toplevel</artifactId>
28-
<version>1.2.4</version>
28+
<version>1.2.5-SNAPSHOT</version>
2929
<relativePath />
3030
</parent>
3131

tooling/conga-aem-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<parent>
2626
<groupId>io.wcm.devops</groupId>
2727
<artifactId>io.wcm.devops.parent_toplevel</artifactId>
28-
<version>1.2.4</version>
28+
<version>1.2.5-SNAPSHOT</version>
2929
<relativePath />
3030
</parent>
3131

0 commit comments

Comments
 (0)