Răsfoiți Sursa

Increase required Rust version to 1.18.0.

Thomas Bächler 7 ani în urmă
părinte
comite
6b8a21db9f
2 a modificat fișierele cu 3 adăugiri și 5 ștergeri
  1. 2 4
      .travis.yml
  2. 1 1
      README.md

+ 2 - 4
.travis.yml

@@ -1,6 +1,6 @@
 language: rust
 language: rust
 rust:
 rust:
-  - 1.17.0
+  - 1.18.0
   - stable
   - stable
   - beta
   - beta
   - nightly
   - nightly
@@ -24,13 +24,11 @@ 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

+ 1 - 1
README.md

@@ -21,7 +21,7 @@ I've done noting more than make this pretty so big thanks to:
 [brain0](https://github.com/brain0/) for [making pluseaudio more robust against audio failures](https://github.com/ComlOnline/librespot/pull/6)  
 [brain0](https://github.com/brain0/) for [making pluseaudio more robust against audio failures](https://github.com/ComlOnline/librespot/pull/6)  
 
 
 ## Building
 ## Building
-Rust 1.17.0 or later is required to build librespot.
+Rust 1.18.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.**