aboutsummaryrefslogtreecommitdiff
path: root/travis
AgeCommit message (Collapse)Author
2020-02-06Travis: update CLang Static Analyzer to CLang 9Even Rouault
Enable optional checkers Fix two false positives
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.
2020-01-07Remove deprecated JNI bindings (#1825)Kristian Evers
Remove deprecated JNI bindings
2020-01-07Remove deprecated JNI bindingsKristian Evers
Closes #1757
2020-01-05Make sure tests pass if extra grids are presentEven Rouault
Should fix the issue reported in https://lists.osgeo.org/pipermail/proj/2020-January/009188.html Some extra north-american grids present in data/ can affect the results of some tests, so create a data/for_tests/ subdirectory in which we copy only select grids.
2020-01-01switch to 6.3 branch for website generationKristian Evers
2019-12-28Travis: fix OSX buildsEven Rouault
2019-12-25Database: tune accuracy of Canadian NTv1 file w.r.t NTv2Even Rouault
As on import of EPSG, we remove the supersession of Canadian NTv1 file w.r.t NTv2 (because the default behaviour of PROJ is to ignore superseded operations). However the NTv1 operation is advertized with an accuracy of 1m, whereas NTv2 is advertized with 1.5m. Consequently on areas where both files are valid, and if both files are available, NTv1 would be selected. So as a workaround, worsen the NTv1 accuracy to 2m so that NTv2 is used in priority.
2019-12-16travis/osx/before_install.sh: do not install md5sha1sum from brewEven Rouault
2019-11-22travis/osx/before_install.sh: attempt to fix 'pip is configured with ↵Even Rouault
locations that require TLS/SSL, however the ssl module in Python is not available.'
2019-10-28travis/linux_gcc/before_install.sh: use cppcheck from distributionEven Rouault
2019-09-25travis/install.sh: add a way of detecting problematic use of CS identifier ↵Even Rouault
for Solaris compat
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-20Merge pull request #1625 from hobu/cmake-proj_lib-testsKristian Evers
set PROJ_LIB on test targets for CMake
2019-09-19address PR commentsHoward Butler
2019-09-19set PROJ_LIB on test targets for CMakeHoward Butler
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-09-01Make sure that website is build from the 6.2 branchKristian Evers
2019-08-17PROJJSON: rename file as projjson.schema.json, and add versionning to it and ↵Even Rouault
to exported PROJJSON strings
2019-08-09Exclude include/proj/internal/nlohmann from coveralls analysisEven Rouault
2019-08-09PROJSJON: add import/export of VerticalCRS, CompoundCRS, BoundCRS, ↵Even Rouault
Transformation and ConcatenatedOperation
2019-08-09projinfo: rename JSON to PROJJSONEven Rouault
2019-07-08Travis: add testing of JSON output against schema and upgrade everything to ↵Even Rouault
Python3
2019-06-21Use HTTPS URLs for download.osgeo.orgPaul Menzel
Change all occurrences with the command below. git grep -l http://download.osgeo.org/ | xargs sed -i 's,http://download.osgeo.org/,https://download.osgeo.org/,g' Fixes: https://github.com/OSGeo/PROJ/issues/1521
2019-06-05Update GitHub references: proj.4 -> PROJMike Taves
2019-06-01Update website: proj4.org -> proj.orgMike Taves
2019-05-15Publish website from 6.1 branchKristian Evers
2019-05-06data/Makefile.am: add detection of md5sum utility, and install md5sha1sum on ↵Even Rouault
MacOSX Travis
2019-05-02Travis: check that the exported symbols conform to what is expected (#1445)Kristian Evers
Travis: check that the exported symbols conform to what is expected
2019-05-01autoconf build: add a PROJ_DB_CACHE_DIR trick to speed-up builds (#1446)Kristian Evers
autoconf build: add a PROJ_DB_CACHE_DIR trick to speed-up builds
2019-05-01Merge branch 'master' into check_exported_symbolsKristian Evers
2019-04-28travis/install.sh: fix previous commit that failed on MacOSXEven Rouault
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 :-)
2019-04-28travis/install.sh: use make -j$(nproc)Even Rouault
2019-04-26Travis: check that the exported symbols conform to what is expectedEven Rouault
This is to help checking that we do not introduce un-intended API/ABI breakage. Not fully bullet proof, but a start.
2019-04-22Fix doc build on Travis OSXEven Rouault
Latest breathe 4.13.0 no longer work with sphinx 1.8.5 / Pyhon 2, so force use 4.12.0 for now. See https://travis-ci.com/OSGeo/proj.4/jobs/194629602 https://github.com/michaeljones/breathe/issues/431
2019-04-05Disable status bars from 'pip install'Mike Taves
Also simplify language for .travis.yml
2019-04-05Adjust test outputsMike Taves
- Tests should use unified diff with expected results - Show CMake build compile commands (VERBOSE=1) - Travis CI only has two cores, so "-j2" is sufficent
2019-03-01Update docs and travis for 6.0.0 releaseKristian Evers
2019-02-27Travis/Appveyor: use proj-datumgrid-1.8Even Rouault
2019-02-24.travis.yml: add build with g++-7 and -D_GLIBCXX_ASSERTIONS (refs #1290)Even Rouault
2019-02-04CI: Install cross-compiled sqlite3 to cross directory.Elliott Sales de Andrade
2019-01-06Make sure that coveralls reports coverage from both c and cpp filesKristian Evers
2018-12-30.travis.yml: build JNI bindings on Trusty linux_gccEven Rouault
2018-12-17Add WKT1 grammar validation; change prototype of proj_obj_create_from_wkt()Even Rouault
2018-11-15autoconf / cmake: build test/ only if neededEven 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-09-29Doc building: fix warning regarding Altamimi2002 citation not foundEven Rouault
There was an issue since transformation.rst which uses this citation is alphabetically after references.rst. The documented workaround in https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/8 is to rename references.rst as zrefereces.rst, so it is alphabetically last.