File rabbitmq-rtopic-exchange-3.6.14-git.patch of Package rabbitmq-rtopic-exchange

diff --git a/.travis.yml b/.travis.yml
index 3d3484d..acfc0ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,5 @@
+# vim:sw=2:et:
+
 sudo: false
 language: erlang
 notifications:
@@ -6,27 +8,47 @@ notifications:
 addons:
   apt:
     packages:
+      - awscli
       - xsltproc
+cache:
+  apt: true
+env:
+  global:
+    - secure: I7MkpY32n2Ge6gFjMp0lPZymYporWZqIyLogV57HaWI0DSANO0D3+f8nOfRFKGgdM25wgR9KXvnfLE0WWLY82iqcbRO2e72+5c/mOQXZiham/EISZq/m/C4zQPvbh5FFU/dxXsSHfxx8Eho4TGjfPMzkDeU42c6Ywub8fwvjFws=
+    - secure: ZseC4g0H0stO/qE6MjkoMVRYhGq0Mvq2Jwcy4RIGJpFor1PjGJAa252SxVGvJmBNKRycjYlqWZt12yjK0uu7XoFcv8i/Rk2IVLVlwoHIW/XFj87h0M6yfTHlcXMwdZ/4tQjvt4TGj0sY+1rv7Fd+rt9ID/QZoywNQ6UcWE9NUI8=
+
 otp_release:
   - "R16B03-1"
-  - "17.5"
-  - "18.0"
-  - "19.0"
+  - "19.3"
+  - "20.1"
 
-# The checkout made by Travis is a "detached HEAD" and branches
-# information is missing. Our Erlang.mk's git_rmq fetch method relies on
-# it, so we need to restore it.
-#
-# We simply fetch master and, if it exists, stable branches. A branch is
-# created, pointing to the detached HEAD.
 before_script:
+  # The checkout made by Travis is a "detached HEAD" and branches
+  # information is missing. Our Erlang.mk's git_rmq fetch method relies
+  # on it, so we need to restore it.
+  #
+  # We simply fetch master and, if it exists, stable branches. A branch
+  # is created, pointing to the detached HEAD.
   - |
     git checkout -B "${TRAVIS_TAG:-${TRAVIS_BRANCH}}"
     git remote add upstream https://github.com/$TRAVIS_REPO_SLUG.git
     git fetch upstream stable:stable || :
     git fetch upstream master:master || :
 
-script: make tests
+script:
+  - make xref
+  - make tests
 
-cache:
-  apt: true
+after_failure:
+  - |
+    cd "$TRAVIS_BUILD_DIR"
+    if test -d logs && test "$AWS_ACCESS_KEY_ID" && test "$AWS_SECRET_ACCESS_KEY"; then
+      archive_name="$(basename "$TRAVIS_REPO_SLUG")-$TRAVIS_JOB_NUMBER"
+
+      tar -c --transform "s/^logs/${archive_name}/" -f - logs | \
+        xz > "${archive_name}.tar.xz"
+
+      aws s3 cp "${archive_name}.tar.xz" s3://server-release-pipeline/travis-ci-logs/ \
+        --region eu-west-1 \
+        --acl public-read
+    fi
diff --git a/src/rabbit_rtopic_perf.erl b/test/rabbit_rtopic_perf.erl
similarity index 100%
rename from src/rabbit_rtopic_perf.erl
rename to test/rabbit_rtopic_perf.erl
openSUSE Build Service is sponsored by