Add xenial support (#1069)

trusty is sunsetting support in April 2019
This commit is contained in:
Stephen 2019-02-28 09:09:41 -08:00 committed by Nguyen Anh Quynh
parent 6d47b38b7f
commit c012d19034

View File

@ -16,6 +16,50 @@ matrix:
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