]> granicus.if.org Git - libjpeg-turbo/commitdiff
Travis: Fix OS X build
authorDRC <information@libjpeg-turbo.org>
Thu, 24 Nov 2016 00:44:33 +0000 (18:44 -0600)
committerDRC <information@libjpeg-turbo.org>
Thu, 24 Nov 2016 00:44:33 +0000 (18:44 -0600)
+ migrate to new xcode7.3 image, since xcode7.2 is going away soon.

.travis.yml

index 0021402c2c79b2aa1c41ef704566f719a2296ff0..8f22389bf28c5e196ea6c1c78f0597380ae88c62 100644 (file)
@@ -9,7 +9,7 @@ matrix:
         - docker
     - os: osx
       env: BUILD_OFFICIAL=1
-      osx_image: xcode7.2
+      osx_image: xcode7.3
     - os: linux
       dist: trusty
       compiler: clang
@@ -40,6 +40,11 @@ matrix:
       env: CMAKE_FLAGS="-DWITH_SIMD=0"
 
 before_install:
+  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
+      brew install nasm homebrew/versions/gcc5 md5sha1sum Caskroom/versions/java6 gpg &&
+      git clone --depth=1 https://github.com/libjpeg-turbo/gas-preprocessor.git ~/src/gas-preprocessor &&
+      ln -fs /Applications/Xcode.app /Applications/Xcode72.app;
+    fi
   - if [ "${BUILD_OFFICIAL:-}" != "" ]; then
       if [ "$TRAVIS_OS_NAME" = "linux" ]; then
         docker pull dcommander/buildljt;
@@ -52,11 +57,6 @@ before_install:
       gpg --import ci/sign_ljt &&
       rm ci/sign_ljt;
     fi
-  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
-      brew install nasm homebrew/versions/gcc5 md5sha1sum Caskroom/versions/java6 &&
-      git clone --depth=1 https://github.com/libjpeg-turbo/gas-preprocessor.git ~/src/gas-preprocessor &&
-      ln -fs /Applications/Xcode.app /Applications/Xcode72.app;
-    fi
 
 script:
   - if [ "${BUILD_OFFICIAL:-}" != "" ]; then