Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2.1
orbs:
coveralls: coveralls/[email protected]
jobs:
test-java:
docker:
- image: cimg/openjdk:17.0
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run:
name: Calculate cache key
command: |-
find . -name 'pom.xml' -o -name 'gradlew*' -o -name '*.gradle*' | \
sort | xargs cat > /tmp/CIRCLECI_CACHE_KEY
- restore_cache:
key: cache-{{ checksum "/tmp/CIRCLECI_CACHE_KEY" }}
- run:
command: mvn verify -Pjacoco org.jacoco:jacoco-maven-plugin:report com.github.hazendaz.maven:coveralls-maven-plugin:report
- store_test_results:
path: target/surefire-reports
- save_cache:
key: cache-{{ checksum "/tmp/CIRCLECI_CACHE_KEY" }}
paths:
- ~/.m2/repository
- coveralls/upload
workflows:
build-and-test:
jobs:
- test-java
44 changes: 0 additions & 44 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
Expand Up @@ -3,7 +3,7 @@ XMLUnit for Java 2.x

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.xmlunit/xmlunit-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.xmlunit/xmlunit-core)

[![Build Status XMLUnit 2.x for Java](https://app.travis-ci.com/xmlunit/xmlunit.svg?branch=main)](https://app.travis-ci.com/github/xmlunit/xmlunit) [![Coverage Status](https://coveralls.io/repos/xmlunit/xmlunit/badge.svg)](https://coveralls.io/r/xmlunit/xmlunit)
[![CircleCI Build Status XMLUnit 2.x for Java](https://dl.circleci.com/status-badge/img/circleci/V6g9K7YQzERoCkGuNKbmF2/NCancriyEKnFRq6b7UPeyc/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/circleci/V6g9K7YQzERoCkGuNKbmF2/NCancriyEKnFRq6b7UPeyc/tree/main) [![Coverage Status](https://coveralls.io/repos/github/xmlunit/xmlunit/badge.svg)](https://coveralls.io/github/xmlunit/xmlunit)

XMLUnit is a library that supports testing XML output in several ways.

Expand Down
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## XMLUnit for Java 2.10.1 - /not released, yet/

* Migrated form TraciCI to CircleCI
Issue [#289](https://github.com/xmlunit/xmlunit/pull/289)

* Migrated to Sonatype's Central Portal
Issue [#287](https://github.com/xmlunit/xmlunit/issues/287)

Expand Down
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
<maven.buildernumber.plugin.version>1.4</maven.buildernumber.plugin.version>
<maven.bundle.plugin.version>3.2.0</maven.bundle.plugin.version>
<maven.compiler.plugin.version>3.6.0</maven.compiler.plugin.version>
<maven.coveralls.plugin.version>3.2.1</maven.coveralls.plugin.version>
<maven.coveralls.plugin.version>4.7.0</maven.coveralls.plugin.version>
<maven.cyclonedx.plugin.version>2.7.3</maven.cyclonedx.plugin.version>
<maven.enforcer.plugin.version>1.4.1</maven.enforcer.plugin.version>
<maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
<maven.jacoco.plugin.version>0.8.11</maven.jacoco.plugin.version>
<maven.jacoco.plugin.version>0.8.13</maven.jacoco.plugin.version>
<maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
<maven.javadoc.plugin.version>3.4.1</maven.javadoc.plugin.version>
<maven.shade.plugin.version>2.4.3</maven.shade.plugin.version>
Expand Down Expand Up @@ -431,9 +431,13 @@
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${maven.coveralls.plugin.version}</version>
<configuration>
<dryRun>true</dryRun>
<timestampFormat>yyyy-MM-dd HH:mm:ssa</timestampFormat>
</configuration>
</plugin>
</plugins>
</build>
Expand Down