forked from eteran/edb-debugger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (45 loc) · 1.82 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
language: cpp
cache: apt
compiler:
- gcc
env:
global:
- MAKEFLAGS="-j2"
matrix:
- QT_BASE=52
- QT_BASE=53
- QT_BASE=54
- QT_BASE=55
- QT_BASE=56
sudo: required
before_install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
- if [ "$QT_BASE" = "52" ]; then sudo add-apt-repository ppa:beineri/opt-qt521-trusty -y; fi
- if [ "$QT_BASE" = "53" ]; then sudo add-apt-repository ppa:beineri/opt-qt532-trusty -y; fi
- if [ "$QT_BASE" = "54" ]; then sudo add-apt-repository ppa:beineri/opt-qt542-trusty -y; fi
- if [ "$QT_BASE" = "55" ]; then sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y; fi
- if [ "$QT_BASE" = "56" ]; then sudo add-apt-repository ppa:beineri/opt-qt562-trusty -y; fi
- sudo apt-get update -qq
- ./travis_install_capstone.sh
install:
- if [ "$QT_BASE" = "52" ]; then sudo apt-get install -qq qt52base qt52xmlpatterns qt52svg; source /opt/qt52/bin/qt52-env.sh; fi
- if [ "$QT_BASE" = "53" ]; then sudo apt-get install -qq qt53base qt53xmlpatterns qt53svg; source /opt/qt53/bin/qt53-env.sh; fi
- if [ "$QT_BASE" = "54" ]; then sudo apt-get install -qq qt54base qt54xmlpatterns qt54svg; source /opt/qt54/bin/qt54-env.sh; fi
- if [ "$QT_BASE" = "55" ]; then sudo apt-get install -qq qt55base qt55xmlpatterns qt55svg; source /opt/qt55/bin/qt55-env.sh; fi
- if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base qt56xmlpatterns qt56svg; source /opt/qt56/bin/qt56-env.sh; fi
before_script:
- mkdir build && cd build && CXX=g++-5 CC=gcc-5 cmake ..
script:
- make
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- libboost-dev
- gcc-5
- g++-5
- cmake3