1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Use the container based travis builds

Travis has upgraded to use docker images on EC2. This allows much faster
build times. This patch forces the build to use the containers.
This commit is contained in:
Matt Clarkson
2015-07-15 22:13:44 +01:00
parent 8c723ad0e4
commit f8a93588c1

View File

@@ -1,8 +1,6 @@
language: c language: c
# This should be false to support container based building but the apt addons sudo: false
# don't seem to work right now
sudo: required
compiler: compiler:
- gcc - gcc
@@ -52,6 +50,7 @@ before_script:
- cmake --version - cmake --version
- cmake - cmake
-G "Unix Makefiles" -G "Unix Makefiles"
"-DCIVETWEB_THIRD_PARTY_DIR=${HOME}/third-party"
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
-DBUILD_SHARED_LIBS=${BUILD_SHARED} -DBUILD_SHARED_LIBS=${BUILD_SHARED}
-DCIVETWEB_ENABLE_SSL=${ENABLE_SSL} -DCIVETWEB_ENABLE_SSL=${ENABLE_SSL}
@@ -65,6 +64,10 @@ before_script:
-DCIVETWEB_CXX_STANDARD=${CXX_STANDARD} -DCIVETWEB_CXX_STANDARD=${CXX_STANDARD}
.. ..
cache:
directories:
- $HOME/third-party
matrix: matrix:
- fast_finish: true - fast_finish: true