[GRASS-SVN] r71868 - grass/trunk/.travis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 29 08:01:34 PST 2017
Author: wenzeslaus
Date: 2017-11-29 08:01:34 -0800 (Wed, 29 Nov 2017)
New Revision: 71868
Modified:
grass/trunk/.travis/linux.before_install.sh
grass/trunk/.travis/linux.install.sh
grass/trunk/.travis/linux.script.sh
Log:
travis: exit on error in scripts
Atempt to fail fast when packages are not downloaded.
(Fail in Travis job number 2401.)
Modified: grass/trunk/.travis/linux.before_install.sh
===================================================================
--- grass/trunk/.travis/linux.before_install.sh 2017-11-29 15:11:56 UTC (rev 71867)
+++ grass/trunk/.travis/linux.before_install.sh 2017-11-29 16:01:34 UTC (rev 71868)
@@ -1,6 +1,8 @@
#!/usr/bin/env sh
# Author: Ivan Mincik, ivan.mincik at gmail.com
+set -e
+
# build dependencies
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
sudo apt-get update -qq
Modified: grass/trunk/.travis/linux.install.sh
===================================================================
--- grass/trunk/.travis/linux.install.sh 2017-11-29 15:11:56 UTC (rev 71867)
+++ grass/trunk/.travis/linux.install.sh 2017-11-29 16:01:34 UTC (rev 71868)
@@ -1,6 +1,8 @@
#!/usr/bin/env sh
# Author: Ivan Mincik, ivan.mincik at gmail.com
+set -e
+
sudo apt-get install --no-install-recommends \
autoconf2.13 \
autotools-dev \
Modified: grass/trunk/.travis/linux.script.sh
===================================================================
--- grass/trunk/.travis/linux.script.sh 2017-11-29 15:11:56 UTC (rev 71867)
+++ grass/trunk/.travis/linux.script.sh 2017-11-29 16:01:34 UTC (rev 71868)
@@ -1,6 +1,8 @@
#!/usr/bin/env sh
# Author: Ivan Mincik, ivan.mincik at gmail.com
+set -e
+
./configure --host=x86_64-linux-gnu \
--build=x86_64-linux-gnu \
--prefix=/usr/lib \
More information about the grass-commit
mailing list