travis: and job that builds on osx

This commit is contained in:
Matthias Krüger 2019-01-12 21:35:01 +01:00
parent 43035ff186
commit d45e4287e6
1 changed files with 9 additions and 0 deletions

View File

@ -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