This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/curator.git


The following commit(s) were added to refs/heads/master by this push:
     new 09e305c  CURATOR-624 Migrate CI from Travis to GitHub actions (#403)
09e305c is described below

commit 09e305ca67d6a0a4cf7d1196bc6868d9964d6742
Author: Nicolò Boschi <boschi1...@gmail.com>
AuthorDate: Wed Dec 15 14:21:25 2021 +0100

    CURATOR-624 Migrate CI from Travis to GitHub actions (#403)
---
 .github/workflows/ci-unit-jdk11.yaml | 49 ++++++++++++++++++++++++++++++++++++
 .github/workflows/ci-unit-jdk8.yaml  | 49 ++++++++++++++++++++++++++++++++++++
 .travis.yml                          |  4 ---
 README.md                            |  1 -
 4 files changed, 98 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci-unit-jdk11.yaml 
b/.github/workflows/ci-unit-jdk11.yaml
new file mode 100644
index 0000000..1ad49ee
--- /dev/null
+++ b/.github/workflows/ci-unit-jdk11.yaml
@@ -0,0 +1,49 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "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
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: CI - Tests JDK 11
+on:
+  push:
+  pull_request:
+    branches:
+      - master
+
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
+
+jobs:
+  check:
+    name:
+    runs-on: ubuntu-latest
+    timeout-minutes: 120
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+
+      - name: Set up JDK 11
+        uses: actions/setup-java@v2
+        with:
+          java-version: 11
+
+      - name: Build
+        run: mvn -B clean install -DskipTests
+
+      - name: Test
+        run: mvn -B verify
diff --git a/.github/workflows/ci-unit-jdk8.yaml 
b/.github/workflows/ci-unit-jdk8.yaml
new file mode 100644
index 0000000..06c2655
--- /dev/null
+++ b/.github/workflows/ci-unit-jdk8.yaml
@@ -0,0 +1,49 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "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
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: CI - Tests JDK 8
+on:
+  push:
+  pull_request:
+    branches:
+      - master
+
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
+
+jobs:
+  check:
+    name:
+    runs-on: ubuntu-latest
+    timeout-minutes: 120
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v2
+        with:
+          java-version: 1.8
+
+      - name: Build
+        run: mvn -B clean install -DskipTests
+
+      - name: Test
+        run: mvn -B verify
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 9eb846e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-language: java
-jdk:
-  - openjdk8
-  - openjdk11
diff --git a/README.md b/README.md
index c966a14..4a84f49 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,5 @@
 # Apache Curator
 
-[![Build 
Status](https://travis-ci.org/apache/curator.svg?branch=master)](https://travis-ci.org/apache/curator)
 [![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.curator/apache-curator.svg?logo=Apache+Maven&logoColor=blue)](http://search.maven.org/#search%7Cga%7C1%7Capache-curator)
 [![Curator 
Website](https://img.shields.io/badge/curator-Curator_Website-red?logo=Apache&logoColor=red)](https://curator.apache.org)
 [![Stack 
Overflow](https://img.shields.io/badge/stackoverflow-Curator_Help-orange?logo=Stack+Overflow&logoColor=orange)](https://stackoverflow.com/questions/tagged/apache-curator)

Reply via email to