.travis.yml 661 Bytes
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1
2
dist: trusty
sudo: required
Sebastian Dröge's avatar
Sebastian Dröge committed
3
4
5
6
7
language: rust
rust:
  - stable
  - beta
  - nightly
8

Sebastian Dröge's avatar
Sebastian Dröge committed
9
10
11
addons:
  apt:
    packages:
12
13
14
15
      - liborc-0.4-dev
      - libglib2.0-dev
      - libxml2-dev

Sebastian Dröge's avatar
Sebastian Dröge committed
16
17
18
matrix:
  allow_failures:
    - rust: nightly
19
20
21
22

script:
    - rustc --version
    - cargo build --all
23
    - cargo build --all --all-features
24
25
26

before_install:
- curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz
27
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/pkgconfig/*.pc
28
29
30
- 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