-# The current Travis default is a container based 14.04 Trust on EC2
+# The current Travis default is a VM based 16.04 Xenial on GCE
# Additional builds with specific requirements for a full VM need to
# be added as additional matrix: entries later on
-
-sudo: false
-dist: trusty
+dist: xenial
language: c
-python:
- - "2.6"
compiler:
- gcc
cache: ccache
- libssh2-1-dev
- liburcu-dev
- libusb-1.0-0-dev
- - libvte-2.90-dev
+ - libvte-2.91-dev
- sparse
- uuid-dev
- gcovr
+ homebrew:
+ packages:
+ - libffi
+ - gettext
+ - glib
+ - pixman
# The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
global:
- SRC_DIR="."
- BUILD_DIR="."
- - TEST_CMD="make check"
- - MAKEFLAGS="-j3"
+ - TEST_CMD="make check -j3 V=1"
git:
submodules: false
-before_install:
- - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
- - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
- - git submodule update --init --recursive capstone dtc ui/keycodemapdb
before_script:
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
- ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; }
script:
- - make ${MAKEFLAGS} && ${TEST_CMD}
+ - make -j3 && ${TEST_CMD}
matrix:
- CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu"
after_success:
- ${SRC_DIR}/scripts/travis/coverage-summary.sh
- compiler: gcc
# We manually include builds which we disable "make check" for
- env:
- CONFIG="--enable-debug --enable-tcg-interpreter"
- TEST_CMD=""
- compiler: gcc
# We don't need to exercise every backend with every front-end
- env:
- CONFIG="--enable-trace-backends=log,simple,syslog --disable-system"
- TEST_CMD=""
- compiler: gcc
- env:
- CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu"
- TEST_CMD=""
- compiler: gcc
- env:
- CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu"
- TEST_CMD=""
- compiler: gcc
- env:
- CONFIG="--disable-tcg"
- TEST_CMD=""
- compiler: gcc
# MacOSX builds
# Python builds
- env:
- CONFIG="--target-list=x86_64-softmmu"
+ language: python
python:
- - "3.0"
+ - "3.4"
- env:
- CONFIG="--target-list=x86_64-softmmu"
+ language: python
python:
- "3.6"
apt:
packages:
- python3-pip
- - python3.4-venv
-
-
+ - python3.5-venv
# Using newer GCC with sanitizers
- addons:
apt:
- libssh2-1-dev
- liburcu-dev
- libusb-1.0-0-dev
- - libvte-2.90-dev
+ - libvte-2.91-dev
- sparse
- uuid-dev
language: generic
- env:
- CONFIG="--disable-system --disable-docs"
- - TEST_CMD="make check-tcg"
- script:
- - make ${MAKEFLAGS} && ${TEST_CMD} ${MAKEFLAGS}
- sudo: required
- dist: trusty
- compiler: gcc
+ - TEST_CMD="make -j3 check-tcg V=1"