gecko-dev/dom/webauthn/u2f-hid-rs/.travis.yml

37 строки
670 B
YAML
Исходник Обычный вид История

sudo: false
language: rust
cache: cargo
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
addons:
apt:
packages:
- build-essential
- libudev-dev
before_install:
- pkg-config --list-all
- pkg-config --libs libudev
- pkg-config --modversion libudev
install:
- rustup install nightly
- rustup component add --toolchain nightly rustfmt-preview
script:
- |
if [ "$TRAVIS_RUST_VERSION" == "nightly" ] ; then
export ASAN_OPTIONS="detect_odr_violation=1:leak_check_at_exit=0:detect_leaks=0"
export RUSTFLAGS="-Z sanitizer=address"
fi
- cargo +nightly fmt --all -- --check
- cargo build
- cargo test