This is an automated email from the ASF dual-hosted git repository.
andor pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.4 by this push:
new 215d2bb ZOOKEEPER-3234: Add Travis-CI configuration file
215d2bb is described below
commit 215d2bbb6680fe0398acd23f81aff48d28c87ab9
Author: Enrico Olivelli <[email protected]>
AuthorDate: Fri Feb 22 15:50:52 2019 +0100
ZOOKEEPER-3234: Add Travis-CI configuration file
Use Travis-CI in order to build ZooKeeper on multiple JDKs and run spotbugs
on every supported JDK
Author: Enrico Olivelli <[email protected]>
Reviewers: [email protected]
Closes #829 from eolivelli/fix/travis-35
(cherry picked from commit cde09d8eb608645353582978d5c03c11e99c753e)
Signed-off-by: Andor Molnar <[email protected]>
---
.travis.yml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d50004a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+language: java
+sudo: false
+jdk:
+ - openjdk8
+ - openjdk11
+
+cache:
+ directories:
+ - "$HOME/.m2"
+
+script: mvn clean install -DskipTests spotbugs:check
+
+branches:
+ only:
+ - master
+ - branch-3.5
+ - branch-3.4