summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-19 05:39:12 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2020-02-19 16:43:18 +0100
commit247622de067234321d6f82afb5ccbe7b76d8bacd (patch)
treef0c6a558f872131320818c0d6398c2d0bbb6871d /.travis.yml
parente36a1617a14634d5dd8f339c2d9b9b97813d4a0f (diff)
downloadlibgphoto2-247622de067234321d6f82afb5ccbe7b76d8bacd.tar.gz
travis-ci: exclude OSX gcc from build matrix
On OSX, 'gcc' is an alias for 'clang', so on OSX, both the so-called 'gcc' and the 'clang' builds actually use clang. It would be some work to find out which gcc to maybe install and then use on OSX, so we disable the 'gcc' builds for now. If someone wants actual gcc builds on OSX, they can take a look later at https://docs.travis-ci.com/user/languages/c/#gcc-on-macos and experiment with finding out which gcc versions are actually available by default and available in brew and use those (after possible first installing them).
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8df384e1a..0d9760817 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,6 +16,14 @@ compiler:
- clang
- gcc
+# On OSX, 'gcc' is an alias for 'clang' anyway, and finding/installing
+# a gcc would be a bit of extra work with uncertain benefits. So on
+# OSX, we only do the 'clang' builds.
+jobs:
+ exclude:
+ - os: osx
+ compiler: gcc
+
# Note: Keep the sudo commands in .travis.yml - they do not work from
# a helper shell script.
before_install: