mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Increase required Rust version to 1.17.0.
Some dependencies require it. Additionally, only build with lewton on >= 1.18
This commit is contained in:
parent
3a18d1f91d
commit
ddfc28f99f
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
- 1.15.0
|
- 1.17.0
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
|
@ -24,11 +24,13 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- cargo build --no-default-features
|
- cargo build --no-default-features
|
||||||
- cargo build --no-default-features --features "with-tremor"
|
- 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 "portaudio-backend"
|
||||||
- cargo build --no-default-features --features "pulseaudio-backend"
|
- cargo build --no-default-features --features "pulseaudio-backend"
|
||||||
- cargo build --no-default-features --features "alsa-backend"
|
- cargo build --no-default-features --features "alsa-backend"
|
||||||
- cargo build --no-default-features --target armv7-unknown-linux-gnueabihf
|
- 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:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
|
@ -5,7 +5,7 @@ closed-source libspotify. Additionally, it will provide extra features
|
||||||
which are not available in the official library.
|
which are not available in the official library.
|
||||||
|
|
||||||
## Building
|
## 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.**
|
**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.**
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue