forked from unicorn-engine/unicorn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (85 loc) · 2.17 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
83
84
85
language: c
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
script:
- make && make -C bindings/go && make -C bindings/go test && make test
compiler:
- clang
- gcc
os:
- linux
- osx
matrix:
include:
- os: linux
compiler: gcc
env: CFLAGS="-m32" LDFLAGS="-m32" LDFLAGS_STATIC="-m32" UNICORN_QEMU_FLAGS="--cpu=i386"
script: make && make -C tests/unit test && make -C tests/regress test
- os: linux
dist: xenial
before_install:
compiler: gcc
addons:
apt:
packages:
- lib32ncurses5-dev
- lib32z1-dev
- libpthread-stubs0-dev
- lib32gcc-4.8-dev
- libc6-dev-i386
- gcc-multilib
- libcmocka-dev
- os: linux
dist: xenial
before_install:
compiler: clang
addons:
apt:
packages:
- lib32ncurses5-dev
- lib32z1-dev
- libpthread-stubs0-dev
- lib32gcc-4.8-dev
- libc6-dev-i386
- gcc-multilib
- libcmocka-dev
- os: linux
dist: xenial
before_install:
compiler: gcc
env: CFLAGS="-m32" LDFLAGS="-m32" LDFLAGS_STATIC="-m32" UNICORN_QEMU_FLAGS="--cpu=i386"
script: make && make -C tests/unit test && make -C tests/regress test
addons:
apt:
packages:
- lib32ncurses5-dev
- lib32z1-dev
- libpthread-stubs0-dev
- lib32gcc-4.8-dev
- libc6-dev-i386
- gcc-multilib
- libcmocka-dev:i386
- if: branch = master
os: osx
script: brew install --HEAD unicorn && brew test unicorn
compiler: gcc
- if: branch = master
os: osx
script: brew install --HEAD unicorn && brew test unicorn
compiler: clang
allow_failures:
- os: osx
script: brew install --HEAD unicorn && brew test unicorn
addons:
apt:
packages:
- lib32ncurses5-dev
- lib32z1-dev
- lib32bz2-dev
- libpthread-stubs0-dev
- lib32gcc-4.8-dev
- libc6-dev-i386
- gcc-multilib
homebrew:
brewfile: true