.travis.yml 911 Bytes
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1 2 3
dist: trusty
sudo: required
language: rust
4 5
cache:
    cargo: true
Sebastian Dröge's avatar
Sebastian Dröge committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
rust:
  - stable
  - beta
  - nightly

addons:
  apt:
    packages:
      - liborc-0.4-dev
      - libglib2.0-dev
      - libxml2-dev
      - libgtk-3-dev

matrix:
  allow_failures:
    - rust: nightly

script:
    - rustc --version
    - cargo build --all
    - cargo test --all
27 28
    - cargo build --all --all-features
    - cargo test --all --all-features
Sebastian Dröge's avatar
Sebastian Dröge committed
29 30 31

before_install:
- curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz
32
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/pkgconfig/*.pc
Sebastian Dröge's avatar
Sebastian Dröge committed
33 34 35 36 37
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/pkgconfig
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/gstreamer-1.0
- export GST_PLUGIN_SCANNER=$PWD/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
- export PATH=$PATH:$PWD/gstreamer/bin
- export LD_LIBRARY_PATH=$PWD/gstreamer/lib:$LD_LIBRARY_PATH