forked from stb-tester/stb-tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
110 lines (108 loc) · 2.75 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
language: c
dist: trusty
sudo: required
install:
- cat /etc/os-release
- export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- export DEBIAN_FRONTEND=noninteractive
- sudo apt-get update
- sudo apt-get -y install
chromium-browser
cmake
expect
expect-dev
gir1.2-gstreamer-1.0
gir1.2-gudev-1.0
gstreamer1.0-libav
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-tools
gstreamer1.0-x
libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev
liblockdev1-dev
libopencv-dev
liborc-0.4-dev
librsvg2-bin
libudev-dev
libxrandr-dev
lighttpd
moreutils
pep8
python-dev
python-docutils
python-flask
python-gi
python-jinja2
python-kitchen
python-lxml
python-lzma
python-matplotlib
python-mock
python-nose
python-numpy
python-opencv
python-pysnmp4
python-qrcode
python-requests
python-scipy
python-serial
python-yaml
python-zbar
ratpoison
socat
swig
tesseract-ocr
tesseract-ocr-deu
tesseract-ocr-eng
v4l-utils
xdotool
xserver-xorg-video-dummy
xterm
- sudo pip install
astroid==1.4.8
isort==3.9.0
pylint==1.6.4
pytest==3.0.3
responses==0.5.1
- |
date &&
git clone -b libcec-3.1.0 https://github.com/Pulse-Eight/libcec.git &&
git clone -b p8-platform-2.0.1 https://github.com/Pulse-Eight/platform.git &&
mkdir platform/build &&
cd platform/build &&
cmake .. &&
make &&
sudo make install &&
cd ../.. &&
mkdir libcec/build &&
cd libcec/build &&
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 \
-DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 \
.. &&
make &&
sudo make install &&
cd ../.. &&
date
- |
{
wget http://ftpmirror.gnu.org/parallel/parallel-20140522.tar.bz2 ||
wget http://ftp.gnu.org/gnu/parallel/parallel-20140522.tar.bz2 ||
exit 0;
} &&
tar -xvf parallel-20140522.tar.bz2 &&
cd parallel-20140522/ &&
./configure --prefix=/usr/local &&
make &&
sudo make install &&
cd .. &&
rm -Rf parallel-20140522/ &&
mkdir $HOME/.parallel &&
touch $HOME/.parallel/will-cite # Silence citation warning
- make enable_stbt_camera=yes
script:
- tesseract --version
- make enable_stbt_camera=no check