forked from REDasmOrg/REDasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 1.05 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
anguage: cpp
compiler: gcc
dist: xenial
before_install:
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# Qt 5.11
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.0-xenial -y
- sudo apt-get update -qq
install:
# System Dependencies
- sudo apt-get install build-essential libgl1-mesa-dev
# C++14
- sudo apt-get install -qq gcc-7 g++-7
# Qt 5.11
- sudo apt-get install -qq qt511base qt511webchannel qt511webengine
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
- source /opt/qt5*/bin/qt5*-env.sh
script:
# Build
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j4
# Prepare
- mkdir deploy
- cp LibREDasm.so deploy/
- cp REDasm deploy/
# Database
- cd deploy
- git clone https://github.com/REDasmOrg/REDasm-Database.git database
- rm -rf database/.git
# Deploy
- sh ../../ci/deploy.sh
notifications:
email: false