set up GH actions
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..8dcf88e
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,35 @@
+#
+# Copyright (c) 2021 Contributors to the Eclipse Foundation
+#
+# This program and the accompanying materials are made available under the
+# terms of the Eclipse Public License v. 2.0 which is available at
+# http://www.eclipse.org/legal/epl-2.0,
+# or the Eclipse Distribution License v. 1.0 which is available at
+# http://www.eclipse.org/org/documents/edl-v10.php.
+#
+# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
+#
+
+name: JAXB stax-ex
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ name: Test on JDK ${{ matrix.java_version }}
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ java_version: [ 11, 17-ea ]
+
+ steps:
+ - name: Checkout for build
+ uses: actions/checkout@v2.3.4
+ - name: Set up JDK
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'zulu'
+ java-version: ${{ matrix.java_version }}
+ - name: Verify
+ run: cd jaxb-ri && mvn -B -V -U -C -Pstaging,oss-release clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true -Doss.disallow.snapshots=false
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 01b9c3e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright (c) 2019, 2021 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Distribution License v. 1.0, which is available at
-# http://www.eclipse.org/org/documents/edl-v10.php.
-#
-# SPDX-License-Identifier: BSD-3-Clause
-#
-
-language: java
-
-dist: bionic
-
-jdk:
- - oraclejdk11
- - openjdk-ea
-
-cache:
- directories:
- - .autoconf
- - $HOME/.m2
-
-install:
- - git fetch --unshallow
-
-script:
- - cd jaxb-ri
- - mvn -B -V -U -C -Pstaging,oss-release clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true -Doss.disallow.snapshots=false
diff --git a/README.md b/README.md
index 557b5b7..fadbb33 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[//]: # " Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. "
+[//]: # " Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved. "
[//]: # " "
[//]: # " This program and the accompanying materials are made available under the "
[//]: # " terms of the Eclipse Distribution License v. 1.0, which is available at "
@@ -6,8 +6,6 @@
[//]: # " "
[//]: # " SPDX-License-Identifier: BSD-3-Clause "
-[![Build Status](https://travis-ci.com/eclipse-ee4j/jaxb-ri.svg?branch=master)](https://travis-ci.com/eclipse-ee4j/jaxb-ri)
-
# Eclipse Implementation of JAXB
Jakarta XML Binding gives Java developers an efficient and standard way of mapping between XML and Java code.