gstreamer-rs/.travis.yml

31 lines
661 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 build --all --all-features
before_install:
- curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz
2017-08-18 10:14:19 +00:00
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/pkgconfig/*.pc
- 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