[pdal-commits] [PDAL/PDAL] 7aa2f6: Add a second Travis build config

GitHub noreply at github.com
Tue Jun 3 07:36:23 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: 7aa2f6a1c071e9a19442085b85c8eb33fcfa7b29
      https://github.com/PDAL/PDAL/commit/7aa2f6a1c071e9a19442085b85c8eb33fcfa7b29
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M .travis.yml
    M scripts/ci/before_install.sh
    M scripts/ci/script.sh

  Log Message:
  -----------
  Add a second Travis build config

@hobu mentioned in
https://github.com/PDAL/PDAL/pull/370#issuecomment-43626129 that we're a
bit lazy about our conditional file inclusion, since many PDAL developers
have relatively static Cmake configurations during development. Issues
like #370 can pop up when developers don't test out various build
configurations.

This patch adds a second Travis build configuration via the
[env](http://docs.travis-ci.com/user/build-configuration/#Set-environment-variables)
option. `.travis.yml` now sets the `PDAL_OPTIONAL_COMPONENTS`
environment variable to either "all" or "none", and this variable is
then used to control the installation of dependencies and the CMake
configuration.

I aimed to make this patch as low-impact as possible by only switching
on/off CMake variables that were either:

1. Previously controlled by `scripts/ci/script.sh` (e.g. `WITH_GDAL`)
2. Defaulted to `ON` (e.g. `WITH_ZLIB`)

All other CMake options were explicitly turned off (e.g. `WITH_SQLITE`).
These can (should?) be turned on in a later patch.


  Commit: bf6b6c502b624dc02a2e974845bb32f753a1f4a8
      https://github.com/PDAL/PDAL/commit/bf6b6c502b624dc02a2e974845bb32f753a1f4a8
  Author: Pete Gadomski <pete.gadomski at gmail.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M .travis.yml
    M scripts/ci/before_install.sh
    M scripts/ci/script.sh

  Log Message:
  -----------
  Merge pull request #372 from gadomski/travis-build-without-optionals

Add a second Travis build config


Compare: https://github.com/PDAL/PDAL/compare/0f3efb7178a2...bf6b6c502b62


More information about the pdal-commits mailing list