blob: 9f61c9643e25b733e8c793bb2e0f5373f233dfed (
plain)
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
|
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
|