Skip to contentSkip to conversation

travis: Bump Xcode 10 image to 10.2

RFC PATCH New Philippe Mathieu-Daudé 1 participant 1 message Feb 20, 2019

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 travis: Bump Xcode 10 image to 10.2

Travis enforce the use of the git protocol v2 on their images, but the 'xcode10' image doesn't handle this correctly, resulting in the brew packages installation failing:

  $ git config protocol.version
  2
  $ rvm $brew_ruby do brew bundle --verbose --global
  /usr/local/bin/brew tap homebrew/bundle
  ==> Tapping homebrew/bundle
  Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
  fatal: unknown value for config 'protocol.version': 2
  Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-bundle /usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle --depth=1` exited with 128.
  Error: Failure while executing; `/usr/local/bin/brew tap homebrew/bundle` exited with 1.

The newer 'xcode10.2' beta [*] image doesn't have this limitation.

This image comes with the following brew packages pre-installed, which extend the current code coverage:
- libffi
- libpng
- libtasn1
- gnutls
- jpeg
- nettle

[*] https://blog.travis-ci.com/2019-02-12-xcode-10-2-beta-2-is-now-available

---
"RFC" because this image is 'beta'.

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
index baa06b976a..5de765bb20 100644
@@ -177,7 +177,7 @@ matrix:
     - env:
         - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
       os: osx
-      osx_image: xcode10
+      osx_image: xcode10.2
       compiler: clang
 
 
Signature · 1 line
2.20.1