cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject [1/2] cayenne git commit: Enable travis
Date Wed, 30 Nov 2016 17:48:47 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 2265e4cc2 -> fecb67f2d


Enable travis


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/1d7d0cf1
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/1d7d0cf1
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/1d7d0cf1

Branch: refs/heads/master
Commit: 1d7d0cf17e40cbcfd2d6ff484899d3222917061f
Parents: 66d44c2
Author: Ruslan Ibragimov <ruslan@ibragimov.by>
Authored: Tue Nov 29 22:14:53 2016 +0300
Committer: Ruslan Ibragimov <ruslan@ibragimov.by>
Committed: Tue Nov 29 22:14:53 2016 +0300

----------------------------------------------------------------------
 .travis.yml                                     | 25 ++++++++++++++++++++
 .../src/test/resources/simplelogger.properties  |  7 ++++++
 2 files changed, 32 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/1d7d0cf1/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7a0a05a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+# Since 4GB not enought for 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
+
+env:
+  - DB_PROFILE=hsql
+  - DB_PROFILE=h2
+  - DB_PROFILE=derby
+
+jdk:
+  - oraclejdk8
+  - oraclejdk7
+
+script:
+  - mvn verify -q -DcayenneTestConnection=$DB_PROFILE
+
+# prevent Travis from uneeded "mvn install" run
+install: /bin/true
+
+cache:
+  directories:
+    - $HOME/.m2

http://git-wip-us.apache.org/repos/asf/cayenne/blob/1d7d0cf1/cayenne-server/src/test/resources/simplelogger.properties
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/resources/simplelogger.properties b/cayenne-server/src/test/resources/simplelogger.properties
new file mode 100644
index 0000000..5c5a4a8
--- /dev/null
+++ b/cayenne-server/src/test/resources/simplelogger.properties
@@ -0,0 +1,7 @@
+# SLF4J's SimpleLogger configuration file
+# Simple implementation of Logger that sends all enabled log messages, for all defined loggers,
to System.err.
+
+# Default logging detail level for all instances of SimpleLogger.
+# Must be one of ("trace", "debug", "info", "warn", or "error").
+# If not specified, defaults to "info".
+org.slf4j.simpleLogger.defaultLogLevel=error


Mime
View raw message