diff options
author | Chris Wilson <qris@users.noreply.github.com> | 2016-10-01 20:44:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-01 20:44:48 +0100 |
commit | 80adfe939a663af4e279652f5404429f5594826c (patch) | |
tree | f316cd8fe3b837531055f702e79f84b49d8dc654 /.travis.yml | |
parent | 8718a10d3b457e80a922d0f2ee6b02e686fb452d (diff) | |
parent | 65a8cf6577d36ad419f7313800a6fbaf93aaa097 (diff) |
Merge rewritten build system.
Add a new CMake build system, based on the one used to build for AppVeyor (Windows) and made to work with Linux and fully tested by Travis CI.
Rewrite the old autoconf-based Makefile generator build system to solve performance and correctness problems caused by highly parallelised recursive Make, which was causing Travis builds to fail. Now uses a single monolithic generated Makefile instead of recursive Make. Should also be faster, both for initial builds (with parallelism) and for rebuilds.
Remove the old outdated Visual Studio project files, since it should now be possible to generate these with CMake.
Add a CMake project that builds Box Backup and its dependencies, particularly useful for getting started as a developer on Windows.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index 3f4e75ef..96e8bf26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,13 @@ sudo: false addons: apt: + # We need cmake > 2.8.7 + # https://github.com/travis-ci/travis-ci/issues/4631#issuecomment-191153634 + sources: + - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3 packages: + - cmake + - cmake-data - libdb-dev - libreadline-dev - libssl-dev @@ -20,17 +26,11 @@ addons: - xsltproc - zlib1g-dev -before_script: - - ccache -s - - ./bootstrap - - ./configure CC="ccache $CC" CXX="ccache $CXX" - - grep CXX config.status - - make - env: - TEST_TARGET=debug - TEST_TARGET=release + - BUILD=cmake TEST_TARGET=debug + - BUILD=cmake TEST_TARGET=release script: - - ./runtest.pl ALL $TEST_TARGET - - ccache -s + - ./infrastructure/travis-build.sh |