-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
executable file
·35 lines (29 loc) · 1.2 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
sudo: required
dist: trusty
compiler: gcc
language: cpp
before_install:
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository -y ppa:chris-lea/libsodium
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get install -y automake libtool gcc-4.8
- sudo apt-get install -y qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools
- sudo apt-get install -y libsodium-dev npm
- sudo npm install -g node-gyp && alias gyp="node-gyp"
- wget https://codeload.github.com/libuv/libuv/zip/v1.16.1
- unzip v1.16.1
- cd libuv-1.16.1
- sh autogen.sh && ./configure
- make && make check && sudo make install
- cd ..
- sudo apt-get install -y build-essential wget curl
- wget http://download.qt.io/archive/qt/5.9/5.9.3/single/qt-everywhere-opensource-src-5.9.3.tar.xz
- tar -xf qt-everywhere-opensource-src-5.9.3.tar.xz
- cd qt-everywhere-opensource-src-5.9.3
- ./configure -release -opensource -confirm-license -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -qt-pcre -qt-xcb -qt-xkbcommon-x11 -no-opengl -no-gtkstyle -static
script:
- cd source_code
- qmake -project
- qmake HiveFrame2.pro
- make