forked from timvideos/gst-switch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (40 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language:
- c
- python
compiler:
- gcc
python:
- "2.7"
before_install:
- sudo pip install -r requirements.txt --use-mirrors
- echo 'yes' | sudo add-apt-repository ppa:gstreamer-developers/ppa
- sudo apt-get update
- mkdir $HOME/gst
- cd $HOME/gst
- git clone https://github.com/duzy/gst-plugins-bad.git
- cd gst-plugins-bad
- git checkout speakertrack_new
- cd ..
- git clone https://github.com/hyades/gst-switch.git
- cd gst-switch
- git checkout python-api
- sudo apt-get build-dep gstreamer1.0
- sudo apt-get install python-gi python3-gi gstreamer1.0-tools gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0
- sudo apt-get install python-scipy
- export PKG_CONFIG_PATH=$HOME"/gst/stage/lib/pkgconfig"
script:
- chmod +x scripts/stage
- ./scripts/stage
- cd $HOME/gst/stage/bin/
- ./gst-switch-srv > out.txt 2>&1
- sleep 10
- cat out.txt
- exit 1
- cd python-api
- make test
after_success:
- coveralls
notifications:
email:
- gst-switch-spam@googlegroups.com
irc: "irc.freenode.org#gst-switch"