2017-08-14 23:30:34 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
language: rust
|
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libglib2.0-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- libgtk-3-dev
|
2018-09-21 14:31:18 +00:00
|
|
|
- libegl1-mesa
|
|
|
|
- libgles2-mesa
|
|
|
|
- libgl1-mesa-dri
|
|
|
|
- libgl1-mesa-glx
|
|
|
|
- libwayland-egl1-mesa
|
2017-08-14 23:30:34 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
|
|
|
|
script:
|
|
|
|
- rustc --version
|
|
|
|
- cargo build --all
|
2018-09-28 09:01:49 +00:00
|
|
|
- G_DEBUG=fatal_warnings cargo test --all
|
2017-08-15 10:46:16 +00:00
|
|
|
- cargo build --all --all-features
|
2018-09-28 09:01:49 +00:00
|
|
|
- G_DEBUG=fatal_warnings cargo test --all --all-features
|
2017-08-14 23:30:34 +00:00
|
|
|
|
|
|
|
before_install:
|
2018-09-21 14:31:18 +00:00
|
|
|
- curl -L https://people.freedesktop.org/~slomo/gstreamer-1.14.3.tar.gz | tar xz
|
2018-03-20 09:54:19 +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
|
2017-08-14 23:30:34 +00:00
|
|
|
- export GST_PLUGIN_SCANNER=$PWD/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
|
|
|
|
- export PATH=$PATH:$PWD/gstreamer/bin
|
2018-03-20 09:54:19 +00:00
|
|
|
- export LD_LIBRARY_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
|