Skip to content

Commit

Permalink
Travis file back to normal
Browse files Browse the repository at this point in the history
  • Loading branch information
hyades committed Aug 23, 2013
1 parent 20bca94 commit 9d43a09
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Expand Up @@ -4,18 +4,13 @@ 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:
- aayushahuja@gmail.com
- gst-switch-spam@googlegroups.com
irc: "irc.freenode.org#gst-switch"
7 changes: 4 additions & 3 deletions python-api/gstswitch/testsource.py
@@ -1,15 +1,16 @@
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst

GObject.threads_init()
Gst.init(None)

from exception import RangeError
import random

# from pipeline import *
#IMPORTS

GObject.threads_init()
Gst.init(None)

__all__ = ["Preview", "VideoSrc", "AudioSrc"]


Expand Down
5 changes: 5 additions & 0 deletions python-api/tests/integrationtests/test.py
Expand Up @@ -7,7 +7,12 @@
import sys
import os
sys.path.insert(0, os.path.abspath(os.path.join(__file__, "../../../")))
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst

GObject.threads_init()
Gst.init(None)
from gstswitch.server import Server
from gstswitch.helpers import *
from gstswitch.controller import Controller
Expand Down

0 comments on commit 9d43a09

Please sign in to comment.