Skip to content

Commit

Permalink
travis: fix riscv32 on macOS again
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrunji0408 committed Oct 5, 2019
1 parent d5168ca commit 72a9ae0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ env:
- ARCH="riscv64"
- ARCH="mipsel"

addons:
homebrew:
packages:
- isl

install:
- if [ 1 ]; then
[ $ARCH = riscv32 ] && export FILE="riscv32-linux-musl-cross";
Expand All @@ -38,7 +33,7 @@ install:
[ $TRAVIS_OS_NAME = linux ] && export URL="https://musl.cc/$FILE.tgz";
[ $TRAVIS_OS_NAME = osx ] && export URL="https://mac.musl.cc/$FILE.tgz";
[ $TRAVIS_OS_NAME = linux ] && [ $ARCH = riscv32 ] && export URL="https://more.musl.cc/8/x86_64-linux-musl/$FILE.tgz";
[ $TRAVIS_OS_NAME = osx ] && [ $ARCH = riscv32 ] && export URL="https://lisa.musl.cc/9.1.0/$FILE.tgz";
[ $TRAVIS_OS_NAME = osx ] && [ $ARCH = riscv32 ] && export URL="https://lisa.musl.cc/9.1.0/$FILE.tgz" && brew install isl;
wget $URL;
tar -xf $FILE.tgz;
export PATH=$PATH:$PWD/$FILE/bin;
Expand Down

0 comments on commit 72a9ae0

Please sign in to comment.