Skip to content

Commit

Permalink
playing around with travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hyades committed Aug 22, 2013
1 parent 1913c6e commit 20bca94
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Expand Up @@ -4,13 +4,18 @@ compiler:
- clang
- gcc

install:
- pip install python-coveralls

before_install:
- echo 'yes' | sudo add-apt-repository ppa:gstreamer-developers/ppa
- sudo apt-get update
- sudo apt-get install .*gstreamer.*1\.0.* libgtk-3-dev
- ./autogen.sh
- py.test --cov-report html --cov gstswitch -v -s
after_success:
- coveralls

notifications:
email:
- gst-switch-spam@googlegroups.com
irc: "irc.freenode.org#gst-switch"
- aayushahuja@gmail.com
3 changes: 3 additions & 0 deletions python-api/tests/integrationtests/test_controller.py
Expand Up @@ -418,11 +418,14 @@ def switch(self, channel, port, index, generate_frames=False):
sources.new_test_video(pattern=5)
preview = PreviewSinks(3001)
preview.run()
out_file = "output-{0}.data".format(index)
video_sink = VideoFileSink(PATH, 3001, out_file)
time.sleep(3)
controller = Controller()
res = controller.switch(channel, port)
print res
time.sleep(3)
video_sink.terminate()
sources.terminate_video()
preview.terminate()
s.terminate()
Expand Down

0 comments on commit 20bca94

Please sign in to comment.