language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gcc-multilib libavcodec-dev:i386 libavutil-dev:i386 libavformat-dev:i386 libswscale-dev:i386
install: rustup target add i686-unknown-linux-gnu
script: RUST_BACKTRACE=1 PKG_CONFIG_ALLOW_CROSS=1 cargo build --verbose

language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly
env:
  - RUST_BACKTRACE=1
  - PKG_CONFIG_PATH=/usr/lib32/pkgconfig
  - PKG_CONFIG_ALLOW_CROSS=1
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gcc-multilib libavcodec-dev:i386 libavutil-dev:i386 libavformat-dev:i386 libswscale-dev:i386
install: rustup target add i686-unknown-linux-gnu

Set a custom pkg-config path
Set a custom pkg-config path
