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-08-14 23:02:25 +00:00
|
|
|
|
2017-04-06 17:23:54 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2017-08-14 23:02:25 +00:00
|
|
|
- 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 test --all
|
2017-08-14 23:02:25 +00:00
|
|
|
|
|
|
|
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
|