From b796ee7c36beefcb1442103073b17dc6bda3ca78 Mon Sep 17 00:00:00 2001 From: Michael Bryan Date: Sun, 25 Jun 2017 13:17:44 +0800 Subject: [PATCH] Made sure travis installs musl for the musl builds --- .travis.yml | 12 ++++++++++++ Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1d21a08..9ce49fe8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,10 @@ matrix: - nodejs - os: linux env: TARGET=x86_64-unknown-linux-musl CHANNEL=stable + addons: + apt: + packages: + - musl # Beta channel - os: osx env: TARGET=i686-apple-darwin CHANNEL=beta @@ -42,6 +46,10 @@ matrix: env: TARGET=x86_64-unknown-linux-gnu CHANNEL=beta - os: linux env: TARGET=x86_64-unknown-linux-musl CHANNEL=beta + addons: + apt: + packages: + - musl # Nightly channel - os: osx env: TARGET=i686-apple-darwin CHANNEL=nightly @@ -56,6 +64,10 @@ matrix: env: TARGET=x86_64-unknown-linux-gnu CHANNEL=nightly - os: linux env: TARGET=x86_64-unknown-linux-musl CHANNEL=nightly + addons: + apt: + packages: + - musl install: - export PATH="$PATH:$HOME/.cargo/bin" diff --git a/Cargo.toml b/Cargo.toml index 35e05cb6..65ad1e62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ clap = "2.24" handlebars = "0.27" serde = "1.0" serde_derive = "1.0" -error-chain = { version = "0.10.0", features = [] } +error-chain = "0.10.0" serde_json = "1.0" pulldown-cmark = "0.0.14" log = "0.3"