From d45e4287e6aa605cb15741fb9f25ca689528ca8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sat, 12 Jan 2019 21:35:01 +0100 Subject: [PATCH] travis: and job that builds on osx --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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