gstreamer-rs/.travis.yml

35 lines
816 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:
- libglib2.0-dev
- libxml2-dev
- libegl1-mesa
- libgles2-mesa
- libgl1-mesa-dri
- libgl1-mesa-glx
- libwayland-egl1-mesa
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-1.14.3.tar.gz | tar xz
2018-03-20 09:38:09 +00:00
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
- export PATH=$PATH:$PWD/gstreamer/bin