forked from nurupo/ProjectTox-Qt-GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (57 loc) · 1.91 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
language: cpp
compiler:
- gcc
- clang
before_install:
- if [ "$CXX" = "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get update -qq; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50; fi
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
- wget -O Qt5.2.0.tar.xz https://dl.dropboxusercontent.com/u/20447449/Qt5.2.0.tar.xz
- mkdir ~/Qt5.2.0
- tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0
- sudo chmod -R 777 ~/Qt5.2.0/
- ln -s ~/Qt5.2.0/5.2.0/gcc_64/mkspecs/linux-g++ ~/Qt5.2.0/5.2.0/gcc_64/mkspecs/linux-gcc
- wget http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz
- tar -xf opus-1.1.tar.gz
- cd opus-1.1
- ./configure --disable-extra-programs --disable-doc
- make -j$(nproc)
- sudo make install
- cd ..
- git clone http://git.chromium.org/webm/libvpx.git
- cd libvpx
- git checkout tags/v1.3.0
- sudo apt-get install yasm -y
- ./configure --disable-examples --disable-unit-tests --enable-shared --enable-static
- make -j$(nproc)
- sudo make install
- cd ..
- git clone git://github.com/jedisct1/libsodium.git
- cd libsodium
- git checkout tags/0.5.0
- ./autogen.sh
- ./configure
- make -j$(nproc)
- sudo make install
- sudo ldconfig
- cd ..
- git clone git://github.com/irungentoo/ProjectTox-Core.git
- cd ProjectTox-Core
- autoreconf -i
- ./configure --disable-tests
- make -j$(nproc)
- sudo make install
- sudo ldconfig
- cd ..
script:
- ~/Qt5.2.0/5.2.0/gcc_64/bin/qmake -v
- ~/Qt5.2.0/5.2.0/gcc_64/bin/qmake -spec linux-$CC -Wall projectfiles/QtCreator/TOX-Qt-GUI.pro
- make -j$(nproc)
notifications:
irc:
channels:
- "chat.freenode.net#Tox-Qt-GUI"
on_success: always
on_failure: always