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

nacx pushed a commit to branch gha
in repository https://gitbox.apache.org/repos/asf/jclouds.git

commit 5e7694088322f1639e1c13563338bbe172f6453d
Author: Ignasi Barrera <ign...@tetrate.io>
AuthorDate: Tue Feb 7 18:05:36 2023 +0100

    Replace TravisCI with GitHUb Actions
---
 .travis.yml => .asf.yaml                 | 38 ++++++++++++++++++--------------
 .travis.yml => .github/workflows/ci.yaml | 35 ++++++++++++++++-------------
 2 files changed, 42 insertions(+), 31 deletions(-)

diff --git a/.travis.yml b/.asf.yaml
similarity index 58%
copy from .travis.yml
copy to .asf.yaml
index fc3e35b7b4..f872b6aa2f 100644
--- a/.travis.yml
+++ b/.asf.yaml
@@ -13,20 +13,26 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-language: java
-
-env:
-  - LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
-
-jdk:
-  - openjdk8
-
-sudo: false
-install: skip
-
-cache:
-  directories:
-    - $HOME/.m2
-
-script: mvn clean verify checkstyle:checkstyle -B -q 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Pdoc,src
+github:
+  description: The Java Multi-Cloud Toolkit
+  homepage: https://jclouds.apache.org/
+  labels:
+    - java
+    - library
+    - cloud
+    - jclouds
 
+  # Uncomment the following lines if at some point we feel like
+  # we want to control merges and pull request builds.
+  #
+  # enabled_merge_buttons:
+  #   squash:  true
+  #   merge:   false
+  #   rebase:  false
+  # protected_branches:
+  #   master:
+  #     required_status_checks:
+  #       contexts:
+  #         - build
+  #     required_pull_request_reviews:
+  #       required_approving_review_count: 1
diff --git a/.travis.yml b/.github/workflows/ci.yaml
similarity index 63%
rename from .travis.yml
rename to .github/workflows/ci.yaml
index fc3e35b7b4..0655d08588 100644
--- a/.travis.yml
+++ b/.github/workflows/ci.yaml
@@ -13,20 +13,25 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-language: java
+name: CI
 
-env:
-  - LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
-
-jdk:
-  - openjdk8
-
-sudo: false
-install: skip
-
-cache:
-  directories:
-    - $HOME/.m2
-
-script: mvn clean verify checkstyle:checkstyle -B -q 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Pdoc,src
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
 
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-java@v3
+        with:
+          java-version: "8"
+          distribution: temurin
+          cache: maven
+      - name: Build
+        run: mvn clean verify checkstyle:checkstyle -B -q 
-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Pdoc,src

Reply via email to