language: rust
dist: bionic
addons:
apt:
packages:
- build-essential
- yasm
install:
- wget http://ffmpeg.org/releases/ffmpeg-4.3.1.tar.gz
- tar xvf ffmpeg-4.3.1.tar.gz
- cd ffmpeg-4.3.1 && ./configure --prefix=/usr --enable-shared --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-everything && make && sudo make install
- rustup component add rustfmt
- rustup component add clippy
jobs:
include:
- rust: stable
script:
- cargo fmt -- --check
- cargo clippy -- -D warnings
- cargo build --verbose
- cargo test --verbose
- rust: beta
script:
- cargo build --verbose
- cargo test --verbose
- rust: nightly
script:
- cargo build --verbose
- cargo test --verbose
allow_failures:
- rust: nightly
fast_finish: true