forked from bleachbit/bleachbit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (31 loc) · 1000 Bytes
/
.travis.yml
File metadata and controls
31 lines (31 loc) · 1000 Bytes
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
language: python
python:
- "2.6"
- "2.7"
before_install:
- export VIRT_ROOT=/home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
- export PKG_CONFIG_PATH=$VIRT_ROOT/lib/pkgconfig
install:
- sudo apt-get install git libgtk2.0-dev libglib2.0-dev
# install PyGObject from source
- 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
- make install > /dev/null
- cd ..
# install PyGTK from source
- 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
- make > /dev/null
- sudo make install
- cd ..
# coveralls.io
- pip install python-coveralls requests[security]
script: make tests COVERAGE="coverage run --include='bleachbit/*'"
after_success:
- coverage report
- coveralls