aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-05-15 08:21:39 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-05-15 09:15:50 +0530
commit459d10254abcf3548b8a567250adbfa742ad610d (patch)
tree6c577cf8dc74239fb01fa6c86073ace0d0b1360c
parentd5e25b2914f891ead3d8ee0f461eeb1967c3f296 (diff)
downloadmeson-459d10254abcf3548b8a567250adbfa742ad610d.zip
meson-459d10254abcf3548b8a567250adbfa742ad610d.tar.gz
meson-459d10254abcf3548b8a567250adbfa742ad610d.tar.bz2
travis/osx: Fix pkg-config installation
To get better test coverage, we were installing pkg-config in one branch and not installing it in the other. This broke when qt started pulling in pkg-config in Homebrew.
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 34303b4..e9f5526 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,9 +41,9 @@ matrix:
before_install:
- python ./skip_ci.py --base-branch-env=TRAVIS_BRANCH --is-pull-env=TRAVIS_PULL_REQUEST
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+ # # Run one macOS build with pkg-config available (pulled in by qt), and the other (unity=off) with pkg-config
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt ldc llvm ninja; fi
- # # Run one macOS build without pkg-config available, and the other (unity=on) with pkg-config
- - if [[ "$TRAVIS_OS_NAME" == "osx" && "$MESON_ARGS" =~ .*unity=on.* ]]; then brew install pkg-config; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" && "$MESON_ARGS" =~ .*unity=on.* ]]; then chmod -x `which pkg-config`; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull jpakkane/mesonci:eoan; fi
# We need to copy the current checkout inside the Docker container,