]> granicus.if.org Git - libevent/commitdiff
travis-ci: use matrix.include over env.matrix/matrix.exclude for coveralls
authorAzat Khuzhin <azat@libevent.org>
Mon, 14 Oct 2019 20:20:23 +0000 (23:20 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 14 Oct 2019 20:20:44 +0000 (23:20 +0300)
.travis.yml

index 1fd07e03a35b3c82f4117943e877b45984f07081..85c625b35d61241271139907de42b87c80c3d884 100644 (file)
@@ -19,7 +19,6 @@ git:
 
 env:
   matrix:
-    - EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes
     - EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS=""
     - EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
     - EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_THREAD_SUPPORT=ON"
@@ -40,6 +39,9 @@ matrix:
     - os: linux
       env: EVENT_BUILD_METHOD=autotools EVENT_CONFIGURE_OPTIONS=""
       compiler: clang
+    # coveralls
+    - os: linux
+      env: EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes
     # for openssl1.1
     - os: linux
       dist: bionic
@@ -60,9 +62,6 @@ matrix:
         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
   allow_failures:
     - os: osx
   fast_finish: true