Use matrix.include.if over matrix.exclude.if for doxygen
authorAzat Khuzhin <azat@libevent.org>
Mon, 14 Oct 2019 09:20:45 +0000 (12:20 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 14 Oct 2019 19:24:37 +0000 (22:24 +0300)
And use if.repo over if.slug

Fixes: aeb014cc ("Do not try to deploy documentaion for PR")
.travis.yml

index 0188137632b946de4844e87c4a8f9d688cefa261..08ae74c360338844164b97109702dbc1b34c02e9 100644 (file)
@@ -57,12 +57,10 @@ matrix:
       branches:
         only:
           - master
+      if: repo = libevent/libevent AND branch = master AND type != pull_request
   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