Skip to content

Commit

Permalink
Fix. move dependencies to install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano Santos committed Nov 26, 2019
1 parent a46135c commit 1c0b198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 1c0b198

Please sign in to comment.