You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
sudo: false
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
# Release branches
|
|
|
|
- /^[0-9]+\.[0-9]+$/
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
|
|
|
env:
|
|
|
|
- MESON_ARGS=""
|
|
|
|
- RUN_TESTS_ARGS="--no-unittests" MESON_ARGS="--unity=on"
|
|
|
|
|
|
|
|
language:
|
|
|
|
- cpp
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# Test cross builds separately, they do not use the global compiler
|
|
|
|
# Also hijack one cross build to test long commandline handling codepath (and avoid overloading Travis)
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env: RUN_TESTS_ARGS="--cross ubuntu-armhf.json --cross linux-mingw-w64-64bit.json" MESON_RSP_THRESHOLD=0
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env: RUN_TESTS_ARGS="--cross ubuntu-armhf.json --cross linux-mingw-w64-64bit.json" MESON_ARGS="--unity=on"
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- python ./skip_ci.py --base-branch-env=TRAVIS_BRANCH --is-pull-env=TRAVIS_PULL_REQUEST
|
|
|
|
- ./ci/travis_install.sh
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./ci/travis_script.sh
|