zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [zookeeper] Diff for: [GitHub] eolivelli closed pull request #751: ZOOKEEPER-3234: Add Travis-CI configuration file
Date Tue, 15 Jan 2019 09:45:11 GMT
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..47d4db082c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+language: java
+sudo: false
+
+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';
+    fi
+
+jobs:
+  include:
+  - stage: test
+    jdk: openjdk11
+    script: mvn verify -Dmaven.test.redirectTestOutputToFile=true -Dsurefire-forkcount=4
+
+branches:
+  only:
+  - master


With regards,
Apache Git Services

Mime
View raw message