diff --git a/.travis.yml b/.travis.yml index d1ddcd0c1..985924839 100644 --- a/.travis.yml +++ b/.travis.yml @@ -145,6 +145,15 @@ matrix: - CXX=g++ CXXFLAGS="${ORIGINAL_CXXFLAGS}" make cppcheck testrunner -j 2 - make clean - CXX=clang++ CXXFLAGS="${ORIGINAL_CXXFLAGS}" make cppcheck testrunner -j 2 +# check if cppcheck builds on osx + - name: "make osx" + os: osx + before_install: + - true + script: + - CXX=g++ CXXFLAGS="${ORIGINAL_CXXFLAGS}" make cppcheck testrunner -j 2 + - make clean + - CXX=clang++ CXXFLAGS="${ORIGINAL_CXXFLAGS}" make cppcheck testrunner -j 2 script: # fail the entire job as soon as one of the subcommands exits non-zero to save time and resources