You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2022/11/11 09:58:08 UTC
[cayenne] branch master updated: Enable GitHub actions and turn off Travis
This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push:
new fc41a5143 Enable GitHub actions and turn off Travis
fc41a5143 is described below
commit fc41a514369ea46eaf749c760b185c4d716e2f94
Author: Nikita Timofeev <st...@gmail.com>
AuthorDate: Fri Nov 11 12:58:03 2022 +0300
Enable GitHub actions and turn off Travis
---
.github/workflows/verify-deploy-on-push.yml | 2 +-
.travis-mvn-settings.xml | 30 ------------
.travis.yml | 74 -----------------------------
README.md | 2 +-
4 files changed, 2 insertions(+), 106 deletions(-)
diff --git a/.github/workflows/verify-deploy-on-push.yml b/.github/workflows/verify-deploy-on-push.yml
index da56d6d27..dabe35d20 100644
--- a/.github/workflows/verify-deploy-on-push.yml
+++ b/.github/workflows/verify-deploy-on-push.yml
@@ -74,7 +74,7 @@ jobs:
cache: 'maven'
- name: Deploy snapshot
- run: mvn deploy -DskipTests --settings .github/maven_settings.xml
+ run: mvn deploy -DskipTests --settings .github/maven-settings.xml
if: contains(env.POM_VERSION, '-SNAPSHOT')
env:
MAVEN_USERNAME: ${{ secrets.NEXUS_USER }}
diff --git a/.travis-mvn-settings.xml b/.travis-mvn-settings.xml
deleted file mode 100644
index 41ec17017..000000000
--- a/.travis-mvn-settings.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~ 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
- ~
- ~ https://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.
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
-
-<!-- Maven build settings for Travis CI -->
-<settings xmlns="https://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="https://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
- <servers>
- <server>
- <id>apache.snapshots.https</id>
- <username>${env.SNAPSHOT_REPO_USERNAME}</username>
- <password>${env.SNAPSHOT_REPO_PASSWORD}</password>
- </server>
- </servers>
-</settings>
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0d6895a1b..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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
-#
-# https://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.
-
-language: java
-
-os: linux
-dist: bionic
-
-services:
- - docker
-
-env:
- jobs:
- - DB_PROFILE=mysql-tc
- - DB_PROFILE=postgres-tc
- - DB_PROFILE=sqlserver-tc
- global:
- # travis encrypt -r apache/cayenne "SNAPSHOT_REPO_USERNAME='username'"
- # travis encrypt -r apache/cayenne "SNAPSHOT_REPO_PASSWORD='password'"
- - secure: "ssx4T8lnuLcR6bRx8BWeWRDa5IfK7RBi5CfNoFlQMoSaiiFvbW0TG+1YAqsYnvf07PfU7YJ4+6b0pG+E83Serw7TSoXehvCeCK8AzsT9/BbVpvuQVlbj/cG9rfrJcTvGyZI7p02+nVBR70XSN2qcvWQt5q2me7ZApS3unmen350="
- - secure: "cysyR/fEtBHC26lYHGhfXYIPMaol1c1wP+r59idByE4iq71QiOffA4j1CQCAnN5Zo7QsNavz/GZoIxNif4SUcY7sW5M92a78VFVK3aYGTOBtN9jpqWDJoFc8jm5C75j3CoBe7dVFkxw3pCdMlZQ7HJj7L+GiyZ5USu6E2vD5X7A="
-
-jdk:
- - openjdk11
- - openjdk17
-
-script:
- - travis_wait 25 mvn verify -fae -q $EXCLUDE_MODULES -DcayenneTestConnection=$DB_PROFILE -DcayenneLogLevel=ERROR
-
-jobs:
-# add hsql, h2 and derby databases to tests on JDK 11
-# To reduce the test time, add only postgres db on JDK 18
- include:
- - env: DB_PROFILE=hsql
- jdk: openjdk11
- - env: DB_PROFILE=h2
- jdk: openjdk11
- - env: DB_PROFILE=derby
- jdk: openjdk11
- - jdk: openjdk18
- env: DB_PROFILE=postgres-tc
- - stage: deploy
- script: mvn deploy -DskipTests --settings .travis-mvn-settings.xml
- jdk: openjdk11
- if: type = push AND branch = master AND repo = apache/cayenne
-
- allow_failures:
- - jdk: openjdk18
-
-# prevent Travis from unnecessary checks with pull request
- exclude:
- - if: type = pull_request
- jdk: openjdk17
- - if: type = pull_request
- jdk: openjdk18
-
-# prevent Travis from unneeded "mvn install" run
-install: true
-
-cache:
- directories:
- - $HOME/.m2
diff --git a/README.md b/README.md
index 28e889671..218d02e5d 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Apache Cayenne
==============
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.cayenne/cayenne-server/4.2.RC1.svg)](https://cayenne.apache.org/download/)
-[![Build Status](https://app.travis-ci.com/apache/cayenne.svg?branch=master)](https://app.travis-ci.com/apache/cayenne)
+[![Build Status](https://github.com/apache/cayenne/actions/workflows/verify-deploy-on-push.yml/badge.svg?branch=master)](https://github.com/apache/cayenne/actions/workflows/verify-deploy-on-push.yml)
<p align="center">