forked from BinPy/BinPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
86 lines (62 loc) · 1.61 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
language: python
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/06cf2c44aa8e55ab06c8
on_success: always
on_failure: always
on_start: false
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
before install:
- sudo apt-get update
- sudo apt-get install wget build-essential
- sudo apt-get install python3-setuptools python-setuptools
- sudo apt-get install python3-dev python-dev
install:
- sudo apt-get install libqt4-dev python-qt4 pyqt4-dev-tools qt4-designer
- sudo apt-get install python3-nose python-nose
- sudo apt-get install pep8
- pip install --use-mirrors coveralls
# install SIP
- wget http://jaist.dl.sourceforge.net/project/pyqt/sip/sip-4.15.5/sip-4.15.5.tar.gz
- tar zxvf sip-4.15.5.tar.gz
- cd sip-4.15.5
- python configure.py
- make --silent
- sudo make install --silent
# For python3
- python3 configure.py
- make --silent
- sudo make install --silent
- cd ..
# install PyQt4
- wget http://jaist.dl.sourceforge.net/project/pyqt/PyQt4/PyQt-4.10.4/PyQt-x11-gpl-4.10.4.tar.gz
- tar zxvf PyQt-x11-gpl-4.10.4.tar.gz
- cd PyQt-x11-gpl-4.10.4/
- echo 'yes' | python configure.py
- make --silent
- sudo make install --silent
# For python3
- sudo apt-get install python3-pyqt4
# clean up sources so that they dont affect the pep8 test
- cd ..
- rm -R PyQt-x11-gpl-4.10.4/
- rm -R sip-4.15.5
# try importing the newly installed packages
- python -c 'import sip'
- python -c 'import PyQt4'
- python -c 'import PyQt4.QtCore'
matrix:
allow_failures:
- python: "pypy"
script:
- ./bin/test_travis.sh
after_success:
coveralls