This can be a _oneliner_ I believe 

```
if [[ $(git log --format=%B -n 1) != *"[ci skip-release]"* ]] ; then ./gradlew release; fi
```
 The git log command was from a travis issue as there is an intent to add the new environment variable. The command is kinda magic, so naming the variable makes it imo easier to comprehend.

Delivery drone breaks codecov
Since the commits of the delivery drone have `[ci skip]`, there is no coverage report for that specific commit. As a result, when a pull request has as base such a commit, CodeCov reports that it could not generate a coverage report.

Maybe we can depend executing `gradle release` if the commit is from a user other than the delivery drone, to not break codecov.

.travis.yml dummy-commit.txt gradle/release.gradle
.travis.yml dummy-commit.txt gradle/release.gradle
diff --git a/.travis.yml b/.travis.yml
index 20b34b70df..e1b7d261d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,7 +39,9 @@ branches:
 install:
  - true
 script:
-  - ./gradlew ciBuild release
+  - TRAVIS_MESSAGE="$(git log --format=%B -n 1)"
+  - ./gradlew ciBuild
+  - if [[ $TRAVIS_MESSAGE != *"[ci skip-release]"* ]] ; then ./gradlew release; fi
 after_success:
   - ./gradlew --stacktrace coverageReport && cp build/reports/jacoco/mockitoCoverage/mockitoCoverage.xml jacoco.xml || echo "Code coverage failed"
   - bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
diff --git a/dummy-commit.txt b/dummy-commit.txt
index 39b0928f91..7ca32a7a2e 100644
--- a/dummy-commit.txt
+++ b/dummy-commit.txt
@@ -1,1 +1,1 @@
-Change this if you need a dummy commit. Push build.
+Change this if you need a dummy commit. Push build
diff --git a/gradle/release.gradle b/gradle/release.gradle
index a748bc1cd1..461d849c38 100644
--- a/gradle/release.gradle
+++ b/gradle/release.gradle
@@ -86,7 +86,7 @@ release {
 
 releaseSteps {
     String currentVersion = project.version //the version loaded when Gradle build has started
-    String buildInfo = "by Travis CI build $System.env.TRAVIS_BUILD_NUMBER [ci skip]"
+    String buildInfo = "by Travis CI build $System.env.TRAVIS_BUILD_NUMBER [ci skip-release]"
     MaskedArg pushTarget = new MaskedArg(value: "https://szczepiq:${System.env.GH_TOKEN}@github.com/mockito/mockito.git")
 
     step("ensure good chunk of recent commits is pulled for release notes automation") {
@@ -197,4 +197,4 @@ TODO:
   -new commits removal (git reset --hard) on all affected branches
 -clean up after release:
  -?
- */
\ No newline at end of file
+ */
