From c8e384e00acbcc07ee2f15309bdf72ad5b5ea83a Mon Sep 17 00:00:00 2001 From: kdeme Date: Thu, 28 Nov 2019 12:17:04 +0100 Subject: [PATCH] Disable static build for osx --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index eaa1401f1..c30c218db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,5 +51,9 @@ script: - make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" update # to allow a newer Nim version to be detected - make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" - build/nimbus --help - - make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test test-reproducibility wrappers wrappers-static - + # -static option will not work for osx unless static system libraries are provided + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then + make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test test-reproducibility wrappers; + else + make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test test-reproducibility wrappers wrappers-static; + fi