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 2018/07/10 14:21:40 UTC

[2/2] cayenne git commit: Enable travis

Enable travis


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

Branch: refs/heads/STABLE-3.1
Commit: bf01e60ec14a7b6123b1c957d2a362b7238d76b6
Parents: 5714108
Author: Nikita Timofeev <st...@gmail.com>
Authored: Tue Jul 10 17:21:24 2018 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Tue Jul 10 17:21:24 2018 +0300

----------------------------------------------------------------------
 .travis.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/bf01e60e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..95d9993
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,32 @@
+# 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
+#
+# http://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.
+
+group: deprecated-2017Q2 # needed for jdk 7
+
+language: java
+
+env:
+  - DB_PROFILE=hsql
+  - DB_PROFILE=derby
+
+jdk:
+  - oraclejdk7
+  - oraclejdk8
+
+script:
+  - travis_wait 30 mvn verify -q -DcayenneTestConnection=$DB_PROFILE
+
+# prevent Travis from unneeded "mvn install" run
+install: true