<div dir="ltr">This Travis fail (clang only) was not really related to GRASS source code, only to failed download from PPA.<br><br>I have added `set -e` to the scripts:<br><br><a href="https://trac.osgeo.org/grass/browser/grass/trunk/.travis/linux.before_install.sh">https://trac.osgeo.org/grass/browser/grass/trunk/.travis/linux.before_install.sh</a><br><a href="https://trac.osgeo.org/grass/browser/grass/trunk/.travis/linux.install.sh">https://trac.osgeo.org/grass/browser/grass/trunk/.travis/linux.install.sh</a><br><a href="https://trac.osgeo.org/grass/browser/grass/trunk/.travis/linux.script.sh">https://trac.osgeo.org/grass/browser/grass/trunk/.travis/linux.script.sh</a><br><br>However, I'm not sure if there is something like that in place already, because clearly it fails when compilation inside the main/build script fails. So I'm not sure if this will help in the future.<br><br>Also I'm not sure if there is some occasion when it can fail and we still want to continue.<br><br>One example of this would be the dataset download, but we are not using it, so I removed it.<br><br>Here is the relevant part of Travis log for the original issue:<br><br>Get:92 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libgdal20 amd64 2.2.2+dfsg-1~trusty1 [5,110 kB]<br>Get:93 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libopenjp2-7-dev amd64 2.1.0-2.1otb1~trusty1 [25.9 kB]<br>Ign:94 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libspatialite-dev amd64 4.1.1-5ubuntu2<br>Ign:95 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libgdal-dev amd64 2.2.2+dfsg-1~trusty1<br>Ign:94 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libspatialite-dev amd64 4.1.1-5ubuntu2<br>Ign:95 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libgdal-dev amd64 2.2.2+dfsg-1~trusty1<br>Err:94 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libspatialite-dev amd64 4.1.1-5ubuntu2<br>  Could not connect to <a href="http://ppa.launchpad.net:80">ppa.launchpad.net:80</a> (91.189.95.83), connection timed out<br>Err:95 <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu</a> trusty/main amd64 libgdal-dev amd64 2.2.2+dfsg-1~trusty1<br>  Unable to connect to ppa.launchpad.net:http:<br>Fetched 48.4 MB in 32s (1,499 kB/s)<br>E: Failed to fetch <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/pool/main/s/spatialite/libspatialite-dev_4.1.1-5ubuntu2_amd64.deb">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/pool/main/s/spatialite/libspatialite-dev_4.1.1-5ubuntu2_amd64.deb</a>  Could not connect to <a href="http://ppa.launchpad.net:80">ppa.launchpad.net:80</a> (91.189.95.83), connection timed out<br>E: Failed to fetch <a href="http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/pool/main/g/gdal/libgdal-dev_2.2.2+dfsg-1~trusty1_amd64.deb">http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/pool/main/g/gdal/libgdal-dev_2.2.2+dfsg-1~trusty1_amd64.deb</a>  Unable to connect to ppa.launchpad.net:http:<br>E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?<br><br>Commits:<br><br><a href="https://trac.osgeo.org/grass/changeset/71868">https://trac.osgeo.org/grass/changeset/71868</a><br><a href="https://trac.osgeo.org/grass/changeset/71869">https://trac.osgeo.org/grass/changeset/71869</a><br><br><br><br>On Wed, Nov 29, 2017 at 10:22 AM, Travis CI <<a href="mailto:builds@travis-ci.org">builds@travis-ci.org</a>> wrote:<br>><br>> GRASS-GIS / grass-ci (master)<br>> Build #2401 was broken.<br>> 6 minutes and 40 seconds<br>> Václav Petráš 1999c7b Changeset →<br>>   docker: troubleshooting tips<br>><br>> git-svn-id: <a href="https://svn.osgeo.org/grass/grass/trunk@71867">https://svn.osgeo.org/grass/grass/trunk@71867</a> 15284696-431f-4ddb-bdfa-cd5b030d7da7<br>> System message:<br>><br>> We are updating to Xcode 8.3! By default, macOS builds will now use Xcode 8.3 unless otherwise specified. Read more here.<br>><br>> Want to know about upcoming build environment updates?<br>><br>> Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.<br>><br>> Documentation about Travis CI<br>> Need help? Mail support!<br>> Choose who receives these build notification emails in your configuration file.<br>><br>> Would you like to test your private code?<br>><br>> Travis CI for Private Projects could be your new best friend!</div>