-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
82 lines (76 loc) · 1.72 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
language: cpp
sudo: required
dist: focal
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- g++-10
- gcc-10
- linux-libc-dev
- git
- build-essential
- automake
- libtool
- python-dev
- zlib1g-dev
- gettext
- swig
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
- libfreetype6-dev
- libsigc++-2.0-dev
- libfribidi-dev
- libssl-dev
- libavahi-client-dev
- libjpeg-turbo8-dev
- libgif-dev
- libopenmpi-dev
env:
- MATRIX_EVAL="CC=gcc-10 && CXX=g++-10 && PYTHON=3.8"
python:
- "3.8"
git:
depth: 1
before_install:
- pip install --upgrade pip tox six
- pip3 install --upgrade pip tox six
- eval "${MATRIX_EVAL}"
script:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
- gcc --version
- g++ --version
- python --version
- echo installing libdvbsi++
- pushd .
- cd /tmp
- git clone --depth 1 https://github.com/OpenVisionE2/libdvbsi.git
- cd libdvbsi
- autoreconf -i
- ./configure
- make
- sudo make install
- popd
- echo installing tuxbox
- pushd .
- cd /tmp
- git clone --depth 1 https://github.com/OpenVisionE2/tuxtxt.git
- cd tuxtxt/libtuxtxt
- autoreconf -i
- ./configure
- make
- sudo make install
- cd ../tuxtxt
- autoreconf -i
- ./configure
- make
- sudo make install
- popd
- echo compiling enigma2
- autoreconf -i
- ./configure --with-libsdl=no --with-boxtype=h9 --with-boxbrand=airdigital --with-oever=10.2 --enable-dependency-tracking ac_cv_prog_c_openmp=-fopenmp --with-nolcd
- make
- python -m compileall .
- find . -type f -name "*.po" -exec msgfmt {} -o {}.mo \;
- echo done!