aboutsummaryrefslogtreecommitdiff
path: root/travis/linux_gcc
AgeCommit message (Collapse)Author
2020-11-27Move linux_gcc 4.8 job to github action, and on Travis-CI only keep the doc ↵Even Rouault
publishing
2020-04-07Test GCC 4.8 and CMake 3.9; resolve a few shadowed declaration warningsMike Taves
2020-01-22Merge RFC4 (#1865)Even Rouault
This commit is the result of the squashing of rfc4_dev branch in a single commit. It implements mostly RFC 4 related work. * Grid handling: - remove obsolete and presumably unfinished implementation of grid catalog functionality - all grid functionality is in grids.cpp/.hpp - vertical and horizontal grid shift: rework to no longer load whole grid into memory - remove hgrids and vgrids member from PJ structure, and store them in hgridshift/vgridshift/deformation structures - build systems: add optional libtiff dependency. Must be explicitly disabled if not desired - add support for horizontal and vertical grids in GeoTIFF, if libtiff is available - add GenericShiftGridSet and GenericShiftGrid classes, relying on TIFF grids, that can be used for generic purpose grid-based adjustment - add a +proj=xyzgridshift method to perform geocentric translation by grid. Used for French NTF to RGF93 transformation using gr3df97a.tif grid - deformation: add support for +grids= for GeoTIFF grids - horizontal grid shift: fix failures on points slightly outside a subgrid (fixes #209) * File management: - add a filemanager.cpp/.hpp to deal with file related work - test for legacy proj_api.h fileapi - proj.h: add proj_context_set_fileapi() and proj_context_set_sqlite3_vfs_name() (fixes #866) - add capability to read resource files from the user writable directory * Network access: - build systems: add optional curl dependency - add a curl-based default implementation for network related functionality - proj.h: add C API to control network functionality, and optionaly provide network callbacks - add data/proj.ini with default settings - add a SQLite3 local cache of downloaded chunks - add proj_is_download_needed() and proj_download_file() * Use Win32 Unicode APIs and expect all strings to be UTF-8 (fixes #1765) For backward compatibility, if PROJ_LIB content is found to be not UTF-8 or pointing to a non existing directory, then an attempt at interpretating it in the ANSI page encoding is done. proj_context_set_search_paths() now assumes strings to be in UTF-8, and functions returning paths will also return values in UTF-8.
2019-10-28travis/linux_gcc/before_install.sh: use cppcheck from distributionEven Rouault
2019-09-25Upgrade testing from trusty to xenial, and also:Mike Taves
* From openjdk-7 via apt to openjdk-11 via Travis CI xenial's $JAVA_HOME * From mingw 4.8 -> 5.3, as supported by xenial * clang+llvm for csa kept at version 6.0.0, but for ubuntu-16.04 * Furthermore xenial implicitly has many upgrades, specifically: - gcc 4.8.4 -> 5.4.0 - clang 4.0.0 -> 5.0.0 - cmake 3.9.2 -> 3.12.4 - python 3.4.3 -> 3.5.2 * cppcheck version kept at 1.61 (for trusty) due to many false positives with version 1.72 (for xenial) * Community code contribution documentation simplified to remove version of cppcheck, as this may outdated with updates to scripts
2019-09-25Rearrange Travis CI scripts to be more modularMike Taves
* Split global before_install for apt and pip * Use -qq option for apt-get, which implies -y * Use list of targets with apt-get rather than one-per-line * Use local variables for mingw32/install.sh * Show version info for cppcheck, pip and python * Simplify clang+llvm-6 path
2019-09-22Travis linux_gcc: force sphinxcontrib-bibtex version to avoid issue with ↵Even Rouault
installing sphinx >= 2.0
2019-09-19Require C99 compiler see #1621Charles Karney
cmake and autoconf now stipulate C99 change c89 to c99 in travis jobs remove HAVE_C99_MATH checks (unrelated) relax Visual Studio compatibility check in cmake/project-config-version.cmake.in (VS 2019 can use a VS 2015 library but not vice versa).
2019-07-08Travis: add testing of JSON output against schema and upgrade everything to ↵Even Rouault
Python3
2019-04-28autoconf build: add a PROJ_DB_CACHE_DIR trick to speed-up buildsEven Rouault
If the PROJ_DB_CACHE_DIR environment variable is defined, then a $(PROJ_DB_CACHED_DIR)/proj.db.sql.md5 file is used to determine if the set of .sql files has changed since the last time. If not then $(PROJ_DB_CACHED_DIR)/proj.db is directly used. This can saved a few seconds when doing rebuilds. This is a poor man equivalent of ccache for generating the database :-)
2018-12-30.travis.yml: build JNI bindings on Trusty linux_gccEven Rouault
2018-11-14Implement RFC 2: Initial integration of "GDAL SRS barn" workEven Rouault
This work mostly consists of: - a C++ implementation of the ISO-19111:2018 / OGC Topic 2 "Referencing by coordinates" classes to represent Datums, Coordinate systems, CRSs (Coordinate Reference Systems) and Coordinate Operations. - methods to convert between this C++ modeling and WKT1, WKT2 and PROJ string representations of those objects - management and query of a SQLite3 database of CRS and Coordinate Operation definition - a C API binding part of those capabilities This is all-in-one squashed commit of the work of https://github.com/OSGeo/proj.4/pull/1040
2018-06-10rewrite references using BibTeX and sphinxcontrib-bibtexMike Toews
2018-06-08Add a scripts/gen_html_coverage.sh to generate local report of code coverage ↵Even Rouault
with lcov/genhtml
2018-05-30CI environment: adapt for C++11 capable environmentsEven Rouault
2018-03-24Don't set -std=c89 in CMakeLists.txtAaron Puchert
This allows us to take advantage of newer features when they are available. However, builds on Travis still use -std=c89 to ensure C89 compatibility. Locally this can be achieved with either * cmake -DCMAKE_C_STANDARD=90 .. * cmake -DCMAKE_C_FLAGS='-std=c89' .. * C_FLAGS='-std=c89' cmake .. We also reorder the warning flags: they are all part of the standard build now, but -Werror is only applied on Travis. Fixes #892.
2018-03-14Add a scripts/cppcheck.sh that check both warnings and errors, and use it in ↵Even Rouault
travis/linux_gcc
2017-12-17Add -std=c89 to travis targets.Kristian Evers
The multistresstest code has been made C89 compliant in the process.
2017-11-29Remove the last remains of the internal selftestKristian Evers
2017-09-12Make sure all platform specific before_install scripts call the global ↵Kristian Evers
before_install script. Python version setup moved to global before_install script.
2017-02-28Enable cppcheck and fix related mostly false-positive warningsEven Rouault
2017-02-26travis/install.sh: use super pedantic warning flags for autoconf buildEven Rouault
2017-01-19.travis.yml: add multi config setupEven Rouault
Setup 4 configs: Linux/GCC, Linux/CLang, OSX CLang and mingw32 OSX allowed to fail, since it fails in the proj -VC step.