Merge pull request #6 from apache/MJDEPS-28_remove_travisci

[MJDEPS-28] replace travisCI with github actions
diff --git a/.travis.yml b/.github/workflows/maven.yml
similarity index 66%
rename from .travis.yml
rename to .github/workflows/maven.yml
index e00391c..ab25f8c 100644
--- a/.travis.yml
+++ b/.github/workflows/maven.yml
@@ -6,7 +6,7 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#  http://www.apache.org/licenses/LICENSE-2.0
+#       http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
@@ -15,19 +15,16 @@
 # specific language governing permissions and limitations
 # under the License.
 
-language: java
-sudo: false
+name: Verify
 
-cache:
-  directories:
-  - "$HOME/.m2"
+on:
+  push:
+  pull_request:
 
 jobs:
-  include:
-  - stage: test
-    jdk: openjdk11
-    script: mvn verify -Prun-its
-
-branches:
-  only:
-  - master
+  build:
+    name: Verify
+    uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3
+    with:
+      jdk-distribution-matrix: '[ "temurin", "zulu", "microsoft", "liberica", "adopt-openj9" ]'
+      matrix-exclude: '[{ "jdk": "8", "distribution": "microsoft"}]'
\ No newline at end of file