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