The Meson Build System
http://mesonbuild.com/
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.
47 lines
902 B
47 lines
902 B
5 years ago
|
sudo: false
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
# Release branches
|
||
|
- /^[0-9]+\.[0-9]+$/
|
||
|
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
|
||
|
compiler:
|
||
|
- gcc
|
||
|
- clang
|
||
|
|
||
|
env:
|
||
|
- MESON_ARGS=""
|
||
|
- RUN_TESTS_ARGS="--no-unittests" MESON_ARGS="--unity=on"
|
||
|
|
||
|
language:
|
||
|
- cpp
|
||
|
|
||
|
services:
|
||
|
- docker
|
||
|
|
||
|
matrix:
|
||
|
exclude:
|
||
|
# On OS X gcc is just a wrapper around clang, so don't waste time testing that
|
||
|
- os: osx
|
||
|
compiler: gcc
|
||
|
include:
|
||
|
# Test cross builds separately, they do not use the global compiler
|
||
|
- os: linux
|
||
|
compiler: gcc
|
||
|
env: RUN_TESTS_ARGS="--cross ubuntu-armhf.txt --cross linux-mingw-w64-64bit.txt"
|
||
|
- os: linux
|
||
|
compiler: gcc
|
||
|
env: RUN_TESTS_ARGS="--cross ubuntu-armhf.txt --cross linux-mingw-w64-64bit.txt" 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
|