summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-06-22 08:28:29 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-09-08 09:00:58 +0200
commitde7c66ab41ec24a318c1ae46c3fa1cb05b4c78e0 (patch)
treef546e6d254ac3e0b10b471a2ea37fe67c0d12ad8 /.travis.yml
parentfeeacc2d57de3b2efd0ef69dd1af947600c53504 (diff)
downloadbison-de7c66ab41ec24a318c1ae46c3fa1cb05b4c78e0.tar.gz
CI: propagate sftp failures
* .travis.yml (stage: "compile"): here.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a51d2143..923598de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,7 +58,9 @@ jobs:
# conflicts). Besides, one day we would like not to depend on the repository at all in the
# 'test' jobs. So also expose this tarball on a name that only depends on the Travis build
# number.
- - sftp bison@sftp.lrde.epita.fr <<< "put $dist"$'\n'"ln -s $dist bison-$TRAVIS_BUILD_NUMBER.tar.xz"
+ #
+ # Without -b -, exit status is always 0.
+ - sftp -b - bison@sftp.lrde.epita.fr <<< "put $dist"$'\n'"ln -s $dist bison-$TRAVIS_BUILD_NUMBER.tar.xz"
## ------- ##
## First. ##