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

commit d8f47069cf904722c44c692eb515df770f2ecd83
Author: alex-byi <alex-...@mail.ru>
AuthorDate: Wed Mar 11 17:47:44 2020 +0300

    change travis configuration
---
 .travis.yml | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6b4c8f8..ae3e962 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,19 +13,13 @@
 # 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
-
 services:
   - docker
 
 language: java
 
 env:
-  matrix:
+  jobs:
     - DB_PROFILE=hsql
     - DB_PROFILE=h2
     - DB_PROFILE=derby
@@ -43,14 +37,17 @@ jdk:
   - openjdk11
   - openjdk-ea
 
-matrix:
-  allow_failures:
-    - jdk: openjdk-ea
+os:
+  - linux
+
+dist: bionic
 
 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
@@ -60,6 +57,6 @@ jobs:
 # prevent Travis from unneeded "mvn install" run
 install: true
 
-#cache:
-#  directories:
-#    - $HOME/.m2
+cache:
+  directories:
+    - $HOME/.m2

Reply via email to