forked from mirrors/gstreamer-rs
Get GStreamer from a tarball for travis
This commit is contained in:
parent
252abbaeda
commit
f2698880d9
1 changed files with 12 additions and 2 deletions
14
.travis.yml
14
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue