diff --git a/.travis.yml b/.travis.yml index 90c112a..af94931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,6 @@ matrix: env: TARGET=x86_64-unknown-linux-musl allow_failures: before_install: -- sudo apt-get update -- sudo apt-get install -y pkg-config libssl-dev upx-ucl - export PATH="$PATH:$HOME/.cargo/bin" install: - bash ci/install.sh diff --git a/ci/install.sh b/ci/install.sh index 194474c..a133a73 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -10,6 +10,10 @@ install_c_toolchain() { sudo apt-get install -y --no-install-recommends \ gcc-aarch64-linux-gnu libc6-arm64-cross libc6-dev-arm64-cross pkg-config libssl-dev ;; + x86_64-unknown-linux-musl) + sudo apt-get update && apt-get install -y --no-install-recommends \ + pkg-config libssl-dev + ;; *) # For other targets, this is handled by addons.apt.packages in .travis.yml ;;