diff options
Diffstat (limited to 'third_party/rust/cubeb-pulse/.travis.yml')
-rw-r--r-- | third_party/rust/cubeb-pulse/.travis.yml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/third_party/rust/cubeb-pulse/.travis.yml b/third_party/rust/cubeb-pulse/.travis.yml new file mode 100644 index 0000000000..e1f5524c3e --- /dev/null +++ b/third_party/rust/cubeb-pulse/.travis.yml @@ -0,0 +1,70 @@ +language: rust +cache: cargo +notifications: + email: + on_success: never + +rust: +# Version 1.36 is the minimum version of rust supported by Gecko. +- 1.36.0 +- stable +- nightly + +env: +# default jobs with and without optional features. +- +- FEATURES=pulse-dlopen + +# Invoke cargo with optional target or features switches. +script: > + cargo test + ${TARGET:+--target ${TARGET}} + ${FEATURES:+--features ${FEATURES}} + +# Install cross target if necessary. +before_install: + if test -n "${TARGET}"; then rustup target add ${TARGET}; fi + +addons: &apt_64 + apt: + packages: + - libpulse-dev + +matrix: + include: + # Add in 32-bit builds + - rust: 1.36.0 + env: + - TARGET=i686-unknown-linux-gnu + addons: &apt_32 + apt: + packages: + - gcc-multilib + - g++-multilib + - libpulse-dev:i386 + - libglib2.0-dev:i386 + - rust: 1.36.0 + env: + - TARGET=i686-unknown-linux-gnu + - FEATURES=pulse-dlopen + addons: *apt_32 + - rust: stable + env: + - TARGET=i686-unknown-linux-gnu + addons: *apt_32 + - rust: stable + env: + - TARGET=i686-unknown-linux-gnu + - FEATURES=pulse-dlopen + addons: *apt_32 + - rust: nightly + env: + - TARGET=i686-unknown-linux-gnu + addons: *apt_32 + - rust: nightly + env: + - TARGET=i686-unknown-linux-gnu + - FEATURES=pulse-dlopen + addons: *apt_32 + allow_failures: + - rust: nightly |