Get GStreamer from a tarball for travis

This commit is contained in:
Sebastian Dröge 2017-08-15 02:02:25 +03:00
parent 252abbaeda
commit f2698880d9

View file

@ -5,11 +5,14 @@ rust:
- stable - stable
- beta - beta
- nightly - nightly
addons: addons:
apt: apt:
packages: packages:
- libgstreamer1.0-dev - liborc-0.4-dev
- libgstreamer-plugins-base1.0-dev - libglib2.0-dev
- libxml2-dev
matrix: matrix:
allow_failures: allow_failures:
- rust: nightly - rust: nightly
@ -18,3 +21,10 @@ script:
- rustc --version - rustc --version
- cargo build --all - cargo build --all
- cargo test --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