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