From de7c66ab41ec24a318c1ae46c3fa1cb05b4c78e0 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 22 Jun 2019 08:28:29 +0200 Subject: [PATCH] CI: propagate sftp failures * .travis.yml (stage: "compile"): here. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. ##