From ddfc28f99f283caa81951c63dd03fa913af1b8de Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Fri, 4 Aug 2017 05:01:20 +0100 Subject: [PATCH] Increase required Rust version to 1.17.0. Some dependencies require it. Additionally, only build with lewton on >= 1.18 --- .travis.yml | 6 ++++-- README.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9a92de0d..94da7c93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: rust rust: - - 1.15.0 + - 1.17.0 - stable - beta - nightly @@ -24,11 +24,13 @@ before_script: script: - cargo build --no-default-features - cargo build --no-default-features --features "with-tremor" - - cargo build --no-default-features --features "with-lewton" - cargo build --no-default-features --features "portaudio-backend" - cargo build --no-default-features --features "pulseaudio-backend" - cargo build --no-default-features --features "alsa-backend" - cargo build --no-default-features --target armv7-unknown-linux-gnueabihf + - if [[ $TRAVIS_RUST_VERSION != *"1.17.0"* ]]; then + cargo build --no-default-features --features "with-lewton"; + fi notifications: email: false diff --git a/README.md b/README.md index e4f828d2..999a27cf 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ closed-source libspotify. Additionally, it will provide extra features which are not available in the official library. ## Building -Rust 1.15.0 or later is required to build librespot. +Rust 1.17.0 or later is required to build librespot. **If you are building librespot on macOS, the homebrew provided rust may fail due to the way in which homebrew installs rust. In this case, uninstall the homebrew version of rust and use [rustup](https://www.rustup.rs/), and librespot should then build.**