summaryrefslogtreecommitdiff
path: root/vendored/mpd/.travis.yml
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.org>2022-08-07 20:47:54 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.org>2022-08-07 20:47:54 -0400
commitea77a8cf9c012fcd877d842fec85b0b5a442952c (patch)
tree7f209c030b97a957497f152d161a9d7035311132 /vendored/mpd/.travis.yml
parent0de7e9ac43f88aae3750ecfe25b5454fdd1ad015 (diff)
Import modifications to `mpd` crateHEADmaster
Diffstat (limited to 'vendored/mpd/.travis.yml')
-rw-r--r--vendored/mpd/.travis.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/vendored/mpd/.travis.yml b/vendored/mpd/.travis.yml
new file mode 100644
index 0000000..5e221d0
--- /dev/null
+++ b/vendored/mpd/.travis.yml
@@ -0,0 +1,43 @@
+sudo: required
+language: rust
+cache: cargo
+addons:
+ apt:
+ packages:
+ - libcurl4-openssl-dev
+ - libelf-dev
+ - libdw-dev
+ - binutils-dev
+rust:
+ - stable
+ - nightly-2017-02-05
+env:
+ global:
+ # override the default `--features unstable` used for the nightly branch
+ - TRAVIS_CARGO_NIGHTLY_FEATURE=""
+ # Version of clippy known to work with pinned nightly.
+ - CLIPPY_VERSION=0.0.113
+before_script:
+ - sudo apt-get update -qq
+ - sudo apt-get install -y mpd
+ # Stop mpd service to ensure we use the test-started ones.
+ - sudo /etc/init.d/mpd stop
+ - /usr/bin/mpd --version
+ - export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH
+ - |
+ pip install 'travis-cargo<0.2' --user &&
+ travis-cargo --only nightly install -- --force clippy --vers CLIPPY_VERSION
+ - |
+ cargo install --force rustfmt
+script:
+ - |
+ RUSTFLAGS=-Dwarnings travis-cargo build &&
+ travis-cargo test
+ - |
+ cargo fmt -- --write-mode diff
+ - |
+ travis-cargo --only nightly clippy
+ - |
+ travis-cargo --only stable doc
+after_success:
+ - travis-cargo coveralls --no-sudo --verify