Drop osx from .travis.yml since macOS builds are no longer supported.

This commit is contained in:
Eric Hawicz
2026-05-24 16:14:32 -04:00
parent 6167807f3a
commit 3e708e4c4f

View File

@@ -71,11 +71,6 @@ matrix:
- cmake - cmake
env: CHECK="true" env: CHECK="true"
# osx
- os: osx
osx_image: xcode13.4
env: XCODE="true" CHECK="true"
# run coveralls # run coveralls
- os: linux - os: linux
dist: xenial dist: xenial
@@ -109,9 +104,6 @@ matrix:
- lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info - lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info
- coveralls-lcov --verbose build/coverage.info - coveralls-lcov --verbose build/coverage.info
# allow_failures:
# - os: osx
before_install: before_install:
- echo $CC - echo $CC
- echo $LANG - echo $LANG
@@ -125,8 +117,6 @@ before_install:
fi fi
before_script: before_script:
# XXX osx on travis doesn't work w/ set -e, so turn it off :(
- set +e
- mkdir -p build || echo "Failed to mkdir build" - mkdir -p build || echo "Failed to mkdir build"
- cd build || echo "Failed to cd build" - cd build || echo "Failed to cd build"
- cmake .. || echo "Failed to run cmake" - cmake .. || echo "Failed to run cmake"
@@ -135,12 +125,8 @@ script:
- make - make
# when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get... # when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...
- if [ -n "$CHECK" ]; then - if [ -n "$CHECK" ]; then
if [ "$TRAVIS_OS_NAME" = "osx" ]; then if [ "$TRAVIS_DIST" = "bionic" ]; then
brew install doxygen; sudo apt-get install -y valgrind cppcheck doxygen;
else
if [ "$TRAVIS_DIST" = "bionic" ]; then
sudo apt-get install -y valgrind cppcheck doxygen;
fi;
fi; fi;
make distcheck; make distcheck;
if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi; if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;