summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2021-01-15 08:23:41 -0500
committerZack Weinberg <zackw@panix.com>2021-01-15 08:23:41 -0500
commit16a50254747ad6484020e40d1c5150283b65c881 (patch)
treecc9594c27708118613fb2f2312b15c60dbfb2bbc
parent0e6c18f524721d99dcda4dffdd23ea092591f585 (diff)
downloadlibxcrypt-16a50254747ad6484020e40d1c5150283b65c881.tar.gz
libxcrypt-16a50254747ad6484020e40d1c5150283b65c881.tar.bz2
libxcrypt-16a50254747ad6484020e40d1c5150283b65c881.zip
.travis.yml: only run travis-after-success on success.
We’re running travis-after-success from the script tag instead of the after-success tag so that problems with coverage generation actually fail the build. If the script tag is a list, each step it lists is run *whether or not* the previous step succeeded :-( Use shell && instead.
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index ca5f8c3..26a5104 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,8 +26,7 @@ before_script:
- build-aux/travis-before
script:
- - build-aux/travis-build
- - build-aux/travis-after-success
+ - build-aux/travis-build && build-aux/travis-after-success
# Repeated configuration blocks, referred to below by YAML aliases.