From 72a9ae029e90a39a32d14758b20365557ca0bfa5 Mon Sep 17 00:00:00 2001 From: Runji Wang Date: Sat, 5 Oct 2019 22:28:23 +0800 Subject: [PATCH] travis: fix riscv32 on macOS again --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62d6fe8..a28f6af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"; @@ -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;