-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (33 loc) · 986 Bytes
/
.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
language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install git libgtk2.0-dev libglib2.0-dev
install:
# Environment setup
- export VIRT_ROOT=/home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
- export PKG_CONFIG_PATH=$VIRT_ROOT/lib/pkgconfig
# PyGobject
- wget http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.6.tar.bz2
- tar xf pygobject-2.28.6.tar.bz2
- cd pygobject-2.28.6
- ./configure --prefix=$VIRT_ROOT --disable-introspection > /dev/null
- make > /dev/null
- sudo make install > /dev/null
- cd ..
# PyGtk
- wget http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-2.24.0.tar.bz2
- tar xf pygtk-2.24.0.tar.bz2
- cd pygtk-2.24.0
- ./configure --prefix=$VIRT_ROOT > /dev/null
- make > /dev/null
- sudo make install > /dev/null
- cd ..
# Appindicator
- sudo apt-get install python-appindicator
# Mock
- pip install mock
# Pyrg
- easy_install pyrg
script: ./run_tests.sh