gstreamer-rs/.travis.yml

31 lines
591 B
YAML
Raw Normal View History

2017-04-06 17:28:01 +00:00
dist: trusty
sudo: required
2017-04-06 17:23:54 +00:00
language: rust
rust:
- stable
- beta
- nightly
2017-04-06 17:23:54 +00:00
addons:
apt:
packages:
- liborc-0.4-dev
- libglib2.0-dev
- libxml2-dev
2017-04-06 17:23:54 +00:00
matrix:
allow_failures:
- rust: nightly
2017-04-06 17:40:11 +00:00
script:
- rustc --version
- cargo build --all
- cargo test --all
before_install:
- curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/pkgconfig
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/gstreamer-1.0
- export PATH=$PATH:$PWD/gstreamer/bin
- export RUSTFLAGS=-L$PWD/gstreamer/lib