aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml19
-rwxr-xr-xsrc/scripts/ci/build.sh9
2 files changed, 21 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 35abc79d3..038334c75 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,19 +26,26 @@ compiler:
env:
matrix:
- - BUILD_MODE="shared"
- - BUILD_MODE="static"
- - BUILD_MODE="coverage"
- - BUILD_MODE="sanitizer"
+ - MODULES="all" BUILD_MODE="shared"
+ - MODULES="all" BUILD_MODE="static"
+ - MODULES="all" BUILD_MODE="coverage"
+ - MODULES="all" BUILD_MODE="sanitizer"
+
+ - MODULES="min" BUILD_MODE="shared"
+ - MODULES="min" BUILD_MODE="static"
matrix:
exclude:
- os: osx
compiler: gcc
- compiler: clang
- env: BUILD_MODE="coverage"
+ env: MODULES="all" BUILD_MODE="coverage"
+ - compiler: clang
+ env: MODULES="all" BUILD_MODE="sanitizer"
+ - compiler: clang
+ env: MODULES="min" BUILD_MODE="shared"
- compiler: clang
- env: BUILD_MODE="sanitizer"
+ env: MODULES="min" BUILD_MODE="static"
# END BUILD MATRIX
install:
diff --git a/src/scripts/ci/build.sh b/src/scripts/ci/build.sh
index c87033f68..684cca437 100755
--- a/src/scripts/ci/build.sh
+++ b/src/scripts/ci/build.sh
@@ -13,7 +13,14 @@ elif [ "$BUILD_MODE" = "sanitizer" ]; then
CFG_FLAGS="--build-mode=sanitizer"
fi
+if [ "$MODULES" = "min" ]; then
+ CFG_FLAGS="$CFG_FLAGS --no-autoload --enable-modules=base"
+fi
+
$CXX --version
python configure.py $CFG_FLAGS --cc=$CC --cc-bin=$CXX --with-openssl --with-sqlite --with-zlib
make -j 2
-./botan-test
+
+if [ "$MODULES" != "min" ]; then
+ ./botan-test
+fi