From 3aef33a99a718d8fed36539c109a14c984e0923b Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 10 Nov 2020 16:03:49 -0800 Subject: [PATCH] travis: Drop osx support We're now running this through github actions, no need for travis. --- .travis.yml | 5 ----- ci/travis_install.sh | 17 ++--------------- ci/travis_script.sh | 41 +++++++++++++---------------------------- 3 files changed, 15 insertions(+), 48 deletions(-) diff --git a/.travis.yml b/.travis.yml index ab317be15..9f61c9643 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ branches: os: - linux - - osx compiler: - gcc @@ -25,10 +24,6 @@ services: - docker matrix: - exclude: - # On OS X gcc is just a wrapper around clang, so don't waste time testing that - - os: osx - compiler: gcc include: # Test cross builds separately, they do not use the global compiler # Also hijack one cross build to test long commandline handling codepath (and avoid overloading Travis) diff --git a/ci/travis_install.sh b/ci/travis_install.sh index d9d308a45..bbeb1006a 100755 --- a/ci/travis_install.sh +++ b/ci/travis_install.sh @@ -4,19 +4,6 @@ set -e msg() { echo -e "\x1b[1;32mINFO: \x1b[37m$*\x1b[0m"; } -if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - msg "Running OSX setup" - brew update - # Run one macOS build with pkg-config available (pulled in by qt), and the - # other (unity=on) without pkg-config - brew install qt ldc llvm ninja - if [[ "$MESON_ARGS" =~ .*unity=on.* ]]; then - which pkg-config && rm -f $(which pkg-config) - fi - python3 -m pip install jsonschema -elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - msg "Running Linux setup" - docker pull mesonbuild/eoan -fi - +msg "Running Linux setup" +docker pull mesonbuild/eoan msg "Setup finished" diff --git a/ci/travis_script.sh b/ci/travis_script.sh index 7e26b5232..e60e3a3c7 100755 --- a/ci/travis_script.sh +++ b/ci/travis_script.sh @@ -4,16 +4,15 @@ set -e msg() { echo -e "\x1b[1;32mINFO: \x1b[37m$*\x1b[0m"; } -if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - # TODO enable coverage - #curl -s https://codecov.io/bash > upload.sh - #chmod +x upload.sh +# TODO enable coverage +#curl -s https://codecov.io/bash > upload.sh +#chmod +x upload.sh - # We need to copy the current checkout inside the Docker container, - # because it has the MR id to be tested checked out. +# We need to copy the current checkout inside the Docker container, +# because it has the MR id to be tested checked out. - msg "Generating runner:" - cat <