This is an automated email from the ASF dual-hosted git repository.
andor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new e556293 ZOOKEEPER-3234: Add Travis-CI configuration file
e556293 is described below
commit e556293793ef588f39ed2fd61ba8afda2678c0b3
Author: Enrico Olivelli <[email protected]>
AuthorDate: Fri Feb 22 13:15: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 #815 from eolivelli/fix/travis-2
---
.travis.yml | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 5ab4b2b..86cde58 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,23 +1,14 @@
language: java
sudo: false
+jdk:
+ - openjdk8
+ - openjdk11
cache:
directories:
- "$HOME/.m2"
-before_script:
- # Add an IPv6 config - see the corresponding Travis issue
- # https://github.com/travis-ci/travis-ci/issues/8361
- - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
- ulimit -s 1082768;
- fi
-
-jobs:
- include:
- - stage: test
- jdk: openjdk11
- script: travis_wait 30 mvn verify
-Dmaven.test.redirectTestOutputToFile=true -Dsurefire-forkcount=4
+script: mvn clean install -DskipTests spotbugs:check
branches:
only: