Bug 1608150 [wpt PR 21112] - Add missing space in `./wpt lint` command line docs...
[gecko.git] / third_party / rust / cubeb-pulse / .travis.yml
blobe1f5524c3e4835e295592f2e627fb96e5e1664d3
1 language: rust
2 cache: cargo
3 notifications:
4   email:
5     on_success: never
7 rust:
8 # Version 1.36 is the minimum version of rust supported by Gecko.
9 - 1.36.0
10 - stable
11 - nightly
13 env:
14 # default jobs with and without optional features.
16 - FEATURES=pulse-dlopen
18 # Invoke cargo with optional target or features switches.
19 script: >
20   cargo test
21   ${TARGET:+--target ${TARGET}}
22   ${FEATURES:+--features ${FEATURES}}
24 # Install cross target if necessary.
25 before_install:
26   if test -n "${TARGET}"; then rustup target add ${TARGET}; fi
28 addons: &apt_64
29   apt:
30     packages:
31     - libpulse-dev
33 matrix:
34   include:
35   # Add in 32-bit builds
36   - rust: 1.36.0
37     env:
38     - TARGET=i686-unknown-linux-gnu
39     addons: &apt_32
40       apt:
41         packages:
42         - gcc-multilib
43         - g++-multilib
44         - libpulse-dev:i386
45         - libglib2.0-dev:i386
46   - rust: 1.36.0
47     env:
48     - TARGET=i686-unknown-linux-gnu
49     - FEATURES=pulse-dlopen
50     addons: *apt_32
51   - rust: stable
52     env:
53     - TARGET=i686-unknown-linux-gnu
54     addons: *apt_32
55   - rust: stable
56     env:
57     - TARGET=i686-unknown-linux-gnu
58     - FEATURES=pulse-dlopen
59     addons: *apt_32
60   - rust: nightly
61     env:
62     - TARGET=i686-unknown-linux-gnu
63     addons: *apt_32
64   - rust: nightly
65     env:
66     - TARGET=i686-unknown-linux-gnu
67     - FEATURES=pulse-dlopen
68     addons: *apt_32
69   allow_failures:
70   - rust: nightly