[smuxi: 4/37] travis: use `set -e` as a workaround for travis not aborting pipelines
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 4/37] travis: use `set -e` as a workaround for travis not aborting pipelines
- Date: Sun, 3 Jan 2021 16:05:24 +0000 (UTC)
commit 660515cd903bdb4700f6744166ef531b0cd094d9
Author: Andres G. Aragoneses <knocte gmail com>
Date: Mon Jan 13 23:17:20 2020 +0800
travis: use `set -e` as a workaround for travis not aborting pipelines
This should be the behaviour by default, but it seems Travis has not solved
this issue yet:
https://github.com/travis-ci/travis-ci/issues/1066
Before this, it could happen that autogen.sh failed (because of some
missing dependency) but still try to build after that.
.travis.yml | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/.travis.yml b/.travis.yml
index 90184d63..ca59a921 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,7 @@ install:
- sudo apt-get install mono-devel nunit-console moreutils gtk-sharp2-gapi libgtkspell-dev > /dev/null
script:
+ - set -e
- ./autogen.sh
- find lib/ -name "*.csproj" -exec sed
's!<WarningLevel>[0-9]</WarningLevel>!<WarningLevel>0</WarningLevel>!' -i {} \;
- sed 's!<Package>dbus-sharp-2.0</Package>!<Package>dbus-sharp-1.0</Package>!' -i
src/Frontend-GNOME/Frontend-GNOME.csproj
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]