Skip to content

Commit 5e522d7

Browse files
committed
Fix MacOSX build
MacOSX does not ship `7z` nor `xz`. Let's use `xz`, just like on the other *nix systems.
1 parent 5dfa08e commit 5e522d7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ matrix:
9595
MACOSX_DEPLOYMENT_TARGET=10.7
9696
os: osx
9797
osx_image: xcode7
98-
install: *osx_install_sccache
98+
install:
99+
- brew update && brew install xz
100+
- *osx_install_sccache
99101
- env: >
100102
RUST_CHECK_TARGET=dist
101103
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:
106108
MACOSX_DEPLOYMENT_TARGET=10.7
107109
os: osx
108110
osx_image: xcode7
109-
install: *osx_install_sccache
111+
install:
112+
- brew update && brew install xz
113+
- *osx_install_sccache
110114
111115
# "alternate" deployments, these are "nightlies" but don't have assertions
112116
# turned on, they're deployed to a different location primarily for projects
@@ -123,7 +127,9 @@ matrix:
123127
MACOSX_DEPLOYMENT_TARGET=10.7
124128
os: osx
125129
osx_image: xcode7
126-
install: *osx_install_sccache
130+
install:
131+
- brew update && brew install xz
132+
- *osx_install_sccache
127133
128134
env:
129135
global:

0 commit comments

Comments
 (0)