]> git.lizzy.rs Git - rust.git/commitdiff
Fix MacOSX build
authorAndrea Canciani <ranma42@gmail.com>
Mon, 1 May 2017 23:42:30 +0000 (01:42 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 3 May 2017 06:09:37 +0000 (08:09 +0200)
MacOSX does not ship `7z` nor `xz`. Let's use `xz`, just like on the
other *nix systems.

.travis.yml

index 5d56379dccebf2c9132d695f25425928df01a6bc..5c658f3a8b1b47a8fc7663283ebae08abcdbe542 100644 (file)
@@ -95,7 +95,9 @@ matrix:
         MACOSX_DEPLOYMENT_TARGET=10.7
       os: osx
       osx_image: xcode7
-      install: *osx_install_sccache
+      install:
+        - brew update && brew install xz
+        - *osx_install_sccache
     - env: >
         RUST_CHECK_TARGET=dist
         RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended"
@@ -106,7 +108,9 @@ matrix:
         MACOSX_DEPLOYMENT_TARGET=10.7
       os: osx
       osx_image: xcode7
-      install: *osx_install_sccache
+      install:
+        - brew update && brew install xz
+        - *osx_install_sccache
 
     # "alternate" deployments, these are "nightlies" but don't have assertions
     # turned on, they're deployed to a different location primarily for projects
@@ -123,7 +127,9 @@ matrix:
         MACOSX_DEPLOYMENT_TARGET=10.7
       os: osx
       osx_image: xcode7
-      install: *osx_install_sccache
+      install:
+        - brew update && brew install xz
+        - *osx_install_sccache
 
 env:
   global: