]> granicus.if.org Git - libevent/commitdiff
Do not try to deploy documentaion for PR
authorAzat Khuzhin <azat@libevent.org>
Sun, 13 Oct 2019 23:49:55 +0000 (02:49 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 14 Oct 2019 00:05:41 +0000 (03:05 +0300)
Anyway access to security variables is forbidden for PRs.

v2: use travis-ci conditions, to avoid running addons

.travis.yml

index 453cbee515e9a74dbb6e160e06ec7946eb68a97d..0188137632b946de4844e87c4a8f9d688cefa261 100644 (file)
@@ -60,6 +60,9 @@ matrix:
   exclude:
     - os: osx
       env: EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes
+    - os: linux
+      env: TOOL=doxygen
+      if: type = pull_request OR slug != libevent/libevent OR branch != master
   allow_failures:
     - os: osx
   fast_finish: true
@@ -134,7 +137,7 @@ script:
       travis_wait $TIMEOUT
       cmake --build . --target verify;
     fi
-  - if [ "$TOOL" == "doxygen" ] && [ "$TRAVIS_REPO_SLUG" == "libevent/libevent" ]; then
+  - if [ "$TOOL" == "doxygen" ]; then
       eval "$(ssh-agent -s)";
       openssl aes-256-cbc
         -K $encrypted_82aa789583ed_key