You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2020/08/07 07:16:56 UTC
[cayenne] branch STABLE-4.1 updated: Aligning travis setup with
"master", enabling SNAPSHOT deployment
This is an automated email from the ASF dual-hosted git repository.
aadamchik pushed a commit to branch STABLE-4.1
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/STABLE-4.1 by this push:
new a00ff3a Aligning travis setup with "master", enabling SNAPSHOT deployment
a00ff3a is described below
commit a00ff3a8fc509af65ffcba957ba0493294540f75
Author: Andrus Adamchik <an...@objectstyle.com>
AuthorDate: Fri Aug 7 10:15:34 2020 +0300
Aligning travis setup with "master", enabling SNAPSHOT deployment
---
.travis.yml | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 6b4c8f8..f979522 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,19 +13,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Since 4GB is not enough for the build, we use 'sudo' environment with 7.5GB RAM
-# Downside: It's starts a little bit slower
-# How to fix: Change build setting or fix code.
-# https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
-sudo: required
+language: java
+
+os: linux
+dist: bionic
services:
- docker
-language: java
-
env:
- matrix:
+ jobs:
- DB_PROFILE=hsql
- DB_PROFILE=h2
- DB_PROFILE=derby
@@ -43,23 +40,21 @@ jdk:
- openjdk11
- openjdk-ea
-matrix:
- allow_failures:
- - jdk: openjdk-ea
-
script:
- travis_wait mvn verify -q $EXCLUDE_MODULES -DcayenneTestConnection=$DB_PROFILE -DcayenneLogLevel=ERROR
jobs:
+ allow_failures:
+ - jdk: openjdk-ea
include:
- - stage: deploy
- script: mvn deploy -DskipTests --settings .travis-mvn-settings.xml
- jdk: openjdk8
- if: type = push AND branch = master AND repo = apache/cayenne
+ - stage: deploy
+ script: mvn deploy -DskipTests --settings .travis-mvn-settings.xml
+ jdk: openjdk8
+ if: type = push AND branch = STABLE-4.1 AND repo = apache/cayenne
# prevent Travis from unneeded "mvn install" run
install: true
-#cache:
-# directories:
-# - $HOME/.m2
+cache:
+ directories:
+ - $HOME/.m2